Subject: [xsl] Problem with xslfo From: meenakshi n <mina_hurray@xxxxxxxxx> Date: Wed, 11 Oct 2006 07:27:55 -0700 (PDT) |
Hi all: I have problem, I will try to explain as much as possible here. I have an XML like this: <root> <level1> <note>Some note</note> <text>Some text here</text </level1> <level1> <text><para>some text</para></text> </level1> </root> Now, level1 has been formatted to put numbers 1,2 ... When I run the XSLFO, this is what I desire to see: NOTE: Some note 1.Some text here 2.Some text So even though note is a child of level1, I want it to appear above level1. Instead, here is what I get 1.Note:Somenote Some text here 2.Some text In fact, the number 1 and Note overlap. I tried to check under the template for note if the parent is level1. But I realised Icannot do that becaouse there can be any number of level1s in the XML document. I am only concerned about the first one. Can anyone please suggest a way of solving this? Thank you in advance. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] following-sibling help pl, David Carlisle | Thread | Re: [xsl] Problem with xslfo, Richard Lewis |
Re: [xsl] XSLT functions in XPath, Owen Rees | Date | Re: [xsl] Problem with xslfo, Richard Lewis |
Month |