Subject: [xsl] re: Multiple Table Footnotes From: "Michael Smith" <mikesmi@xxxxxxxxx> Date: Wed, 29 Jun 2005 16:47:25 -0400 |
Hi Jay, Sorry for the delay in getting back to you about my question. Take the following XML code as an example of my question. Say that each FirstHist grouping is converted into a separate table during transformation to HTML (in this case I will have two separate tables). I want all body footnotes to appear at the end of the HTML document, but all footnotes within each FirstHist group to be placed at the end of their respective tables. So my questions are: 1) How to I get the pass that will place the main body footnotes at the end of the document to ignore the Footnotes in the FirstHist groupings? I don't want these included in the count or the end-of-document placing. 2) How do I get each table to have their own Footnote count independent of the main body footnotes and the other table's footnotes? ======== Code Begins ============ <RootTag> <FirstTag> <FirstMainBody> <FirstName> debug diag online <FootNote>This is a title footnote.</FootNote></FirstName> <FirstDesc> <Para> To enable online output of the goggly-gook, use the <FirstName>goggly-gook diag online</FirstName> command. To disable debugging, use the no form of the command. <FootNote>This is the first body footnote. </FootNote></Para> </FirstDesc> <FirstHist> <FirstHistItem> <Release> 8.01</Release> <ModificationInfo> <Para> The new command <FirstName>goggly-gook diag online</FirstName> was released.<Footnote> We thought it was a good idea at the time. </FootNote></Para> </ModificationInfo> </FirstHistItem> <FirstHistItem> <Release> 8.02</Release> <ModificationInfo> <Para> The command <FirstName>goggly-gook diag online</FirstName> was removed. <Footnote> But decided it was a bad idea, so removed. </FootNote</Para> </ModificationInfo> </FirstHistItem> </FirstHist> <FirstName> Some stupid name TWO</FirstName> <FirstDesc> <Para> To enable online output of the guillotine, use the <FirstName>enable guillotine online</FirstName> command. To disable debugging, use the no form of the command. <FootNote>This is the second body footnote. </FootNote></Para> </FirstDesc> <FirstHist> <FirstHistItem> <Release> 9.01</Release> <ModificationInfo> <Para> The new command <FirstName>online mistake catcher</FirstName> was released.<Footnote> We thought it was a good idea at the time. </FootNote></Para> </ModificationInfo> </FirstHistItem> <FirstHistItem> <Release> 9.02</Release> <ModificationInfo> <Para> The command <FirstName>online mistake catcher </FirstName> was removed. <Footnote> Yet another idea that flopped, so removed. </FootNote</Para> </ModificationInfo> </FirstHistItem> </FirstHist> <FirstName> Some stupid name TWO</FirstName> <FirstDesc> <Para> To enable online output of the guillotine, use the <FirstName>enable guillotine online</FirstName> command. To disable debugging, use the no form of the command. <FootNote>This is the third body footnote. </FootNote></Para> </FirstDesc> </FirstMainBody> </FirstTag> </RootTag> =========Code Ends ================ Hi, Mike, Welcome to the list. It sounds like a fairly straightforward grouping problem, but it's a bit hard to tell from the description. The preferred (because it removes ambiguities) way to post a question on the list is to show us a small-but-complete representation of your problem in XML, the XSL you've tried so far (unless you have been completely stumped, which is OK), and the desired output. So, post a small-but-complete example of the problem you have, and we can do a lot more for you. The list doesn't take attachments (a feature many of us like), so just paste the XML and XSL right into the message. Jay Bryant Bryant Communication Services (presently consulting at Synergistic Solution Technologies) "Michael Smith" <mikesmi@xxxxxxxxx> 06/20/2005 11:18 AM Please respond to xsl-list@xxxxxxxxxxxxxxxxxxxxxx To <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> cc Subject [xsl] Multiple table footnotes Hi everyone, <newbie_alert> I have a question about footnotes that I hope someone will be able to help steer me in the right direction. In dealing with footnotes that appear in both the body of the document, as well as in several tables, how does one keep each table's footnote numbering and count separate from the footnote numbering and count in the main body of the document, and from other table footnote schemes (assuming you were using one tag - Footnote - for all footnotes regardless of where they appeared in a document; also, != DocBook if that's required info)? In the XML content I'm transforming, we're taking some non-tabular content and putting them into tables during the transform. I'm stumped on how to handle similarly-tagged footnotes in such newly-created tables so that they have their own, independant numbering structure, with footnotes placed below their respective tables. Thanks much for your thoughts on this, Mike </newbie_alert>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] single document write, cknell | Thread | [xsl] Complicated grouping and colu, Will McCutchen |
Re: [xsl] graphics & multi-line tex, J.Pietschmann | Date | Re: [xsl] Traversing nodes and stor, David Carlisle |
Month |