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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--