[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: [XSL] Footnotes Display
Hi, Alice!
Hi, I follow the list with lag of several days, but your question seems to stay without answer yet. I don't know whether you've solved this issue, but in case you haven't I'll make a couple of guesses/comments. First, you have <xsl:apply-templates select="list"/>, but in the input there is no <list> elements under <to_do>, only <item>s. It might be, that <xsl:apply-templates select="list"/> is what you need. Next, as far as I can see, the actual list items are still being printed since in the named template you have <xsl:apply-templates/> (in both xsl:choose branches), and as the context node is not changed by the named template and it is still <to_do> node, templates matching <item> children do their job. Third, I hardly can see how did you manage to get <h3>Note</h3>, since XPATH expression in <xsl:when test="p/@xml:id='authnote'"> (which contains the aforementioned H3 tag) checks <p> children of the current node, and in your example input <p xml:id="authnote">...</p> is definetely not among the kids of <to_do>. When I ran the test I got only textual representation of the <p> tag which was even out of <div>...</div> and was obviously going from the default copy template. The last thing I have to say is that I haven't tested anything of what I said except for this H3 thing so I might be completely mistakening :) Anyway, hope this will help you. Cheers, Ilya
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|