Next in thread → Next in month →

RE: [docbook-apps] Re: [docbook] Footnote Problem

From
"Rcott Viseman"
Date
2004-05-14T17:47:57+00:00
ID
Thread
RE: [docbook-apps] Re: [docbook] Footnote Problem
Bob,

Are you saying we can use xml and xsl to do html style sheets?

Scott

-----Original Message-----
From: Bob Stayton [mailto:] 
Sent: Friday, May 14, 2004 10:50 AM
To: Melanie R飉ch; DocBook Apps
Subject: Re: [docbook-apps] Re: [docbook] Footnote Problem

Your document does process with the stock stylesheets, so it is something in your customization layer.  I believe it is the handling of the para element inside the footnote.

Your customization has a match="para".  Since it has higher import precedence, it overrides the special template that Norm wrote to handle the first para in a footnote.  You need to copy this template from html/footnote.xsl to your customization layer to raise its import
precedence:

<xsl:template match="footnote/para[1]|footnote/simpara[1]" priority="2">

This is a tricky issue in stylesheet customization.  Although this template in the original stylesheet has a more specific match, it has a lower import precedence, so it is not used unless it appears in your stylesheet.

Bob Stayton
Sagehill Enterprises
DocBook Consulting


----- Original Message -----
From: "Melanie R飉ch" <>
To: "Bob Stayton" <>; "DocBook Apps"
<>
Sent: Friday, May 14, 2004 12:19 AM
Subject: [docbook-apps] Re: [docbook] Footnote Problem

> I work with Linux (KDE 3.1).
> The whole document validates with the program xmllint without any
problems.
> For processing the document I use Saxon 6.52 and the stylesheet version
> 1.65.1.
>
> Regards
> Melanie R飉ch
>
>
> Bob Stayton schrieb:
>
> >[For future reference, please use the docbook-apps list for questions
about
> >processing DocBook.  The 'docbook' list is for questions about the
DocBook
> >DTD.  I'm moving this over to the docbook-apps list.]
> >
> >I cut and pasted your footnote example into a document and it works for
me.
> >Perhaps you could describe how you are processing the document (what
> >processor, what stylesheet version, etc.).  Does the document validate?
> >
> >Bob Stayton
> >Sagehill Enterprises
> >DocBook Consulting
> >
> >
> >
> >----- Original Message ----- 
> >From: "Melanie R飉ch" <>
> >To: <>
> >Sent: Thursday, May 13, 2004 3:58 AM
> >Subject: [docbook] Footnote Problem
> >
> >
> >
> >
> >>I've include footnotes in my document like this:
> >><para>...Modelica <footnote><para>Modelica is a registered
> >>...</para></footnote>...</para>
> >>
> >>In the generated HTML-Output I get a Link after Modelica to the
> >>footnote, but the
> >>Link doesn't work. If I look at the end of the HTML-File the footnote is
> >>there, but
> >>without a Linklabel back to the text.
> >>
> >>What did I make wrong?
> >>
> >>regards Melanie
> >>
> >>To unsubscribe from this list, send a post to
> >>
> >>
> >, or visit
> >http://www.oasis-open.org/mlmanage/. Or http://www.allaboutsingles.com or http://www.people-services.net
> >
> >
> >>
> >>
> >>
> >
> >
> >
> >
> >
>
> To unsubscribe from this list, send a post to
, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>

To unsubscribe from this list, send a post to , or visit http://www.oasis-open.org/mlmanage/.
Next in thread → Next in month →