[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Forcing the order of templates in XSLT/XSLFO

Subject: Forcing the order of templates in XSLT/XSLFO
From: "Meenakshi Nanjundeswar" <meenananju@xxxxxxxxxxx>
Date: Fri, 13 Oct 2006 15:25:54 -0500
 Forcing the order of templates in XSLT/XSLFO
Hi :

I have a question about forcing the order of elements in xslt.
Suppose I have an XML:

<root>

<table>Sometable</table>
<text>Some text</text>
<image>An Image</image>
<table>This table is assoc. with the image above</table>

</root>

Now the issue I am facing is, I have template for the element "table"since it can appear anywhere in the document. However, I want the "table" element that is after the "image" element to appear only after the "image" element. How can I achieve this? I tried using mode but it did not work.

Is there any way I can check if "table" element is after "image" element?

All your help is appreciated.

Thanks

_________________________________________________________________
Try the new Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&FORM=WLMTAG


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.