This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Node set
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] Node set
- From: YueMa <may at mail dot nlm dot nih dot gov>
- Date: Mon, 05 Feb 2001 11:44:25 -0500
- Organization: NLM
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi there,
How can I create a node set with specific order other than document
order?
<mydoc>
<title1>
</title1>
</title2>
</title2>
<title3>
</title3>
<title4>
</title4>
</mydoc>
How about if I want to display like:
title2
title4
title1
title3
and maybe later I want:
title1
title3
title2
title4
the order is not fixed and may changd everytime, and even the number of
titles are not guaranteed, maybe 4, maybe 3, etc.
What I wanted to do is to create a node set with the particular order
and then I can process elements just by using <xsl:for-each>, is that
possible in XSL?
Thanks!
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list