Re: [docbook-apps] footnote mark rendering with 1.77.1 stylesheets

From
Jirka Kosek <>
Date
2013-10-17T14:04:42+00:00
ID
Thread
Re: [docbook-apps] footnote mark rendering with 1.77.1 stylesheets
It might be that you are producing XHTML, but parser in browser treat it as HTML, because of wrong mime type or extension.

Tim Arnold <> napsal(a):

hi Jirka, that is one nice crystal ball you have! 
You are right, I was looking at the DOM inspector in Chrome.

When I look at the source everything is correct.

Which made me check it with a couple of other browsers.

I IE, it is *displayed* correctly; with Chrome, Firefox, and Opera the [1] is displayed without being superscripted. The DOM inspector for those browsers put the [1] outside the 'sup' tag.

thanks,

--Tim

On Thu, Oct 17, 2013 at 5:38 AM, Jirka Kosek <> wrote:

On 16.10.2013 21:46, Tim Arnold wrote:

> The rendered footnote mark is structured like this:

> ----------------

> <a href="" class="footnote">

>   <sup class="footnote"></sup>

> </a>

> <a name="id286817273"></a>

> [1] will be charged etc...

>

> Is that a bug?

Probably yes, but probably not in the stylesheets.

Are you sure that you were looking on the direct result of

transformation and there were no additional step applied to HTML like

HTML-tidy?

Have you been looking at HTML source or have you been using DOM

inspector in your browser?

                                Jirka

--

------------------------------------------------------------------

  Jirka Kosek      e-mail:       http://xmlguru.cz

------------------------------------------------------------------

       Professional XML consulting and training services

  DocBook customization, custom XSLT/XSL-FO document processing

------------------------------------------------------------------

 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.

------------------------------------------------------------------

    Bringing you XML Prague conference    http://xmlprague.cz

------------------------------------------------------------------

-- 

Odesláno z mého telefonu s Androidem pomocí pošty K-9 Mail. Omluvte prosím mou stručnost.