You can use apply-templates with select attributes, thus:
<xsl:for-each select="bits">
<xsl:apply-templates select="firstbit"/>
<xsl:apply-templates select="secondbit"/>
<xsl:apply-templates select="thirdbit"/>
<xsl:apply-templates select="fourthbit"/>
</xls:for-each>
That might get a bit tedious and hard to maintain if you have very many
children from the for-each context node, but it works.
HTH
Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)
dan sherman <h8_bsod(_at_)yahoo(_dot_)com>
03/24/2005 01:31 PM
Please respond to
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
cc
Subject
[xsl] xsl manual sort order
Is there a way that the order of an xml to html
transform can be specific to the order the xsl was
written. Or can I make the transfrom output of a
for-each section output in a specific order, note that
xsl:sort in asceding or such does not fix my issues.
Thanks,
Dan Sherman
__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--