Subject: Re: [xsl] xsl manual sort order From: JBryant@xxxxxxxxx Date: Thu, 24 Mar 2005 13:38:31 -0600 |
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@xxxxxxxxx> 03/24/2005 01:31 PM Please respond to xsl-list@xxxxxxxxxxxxxxxxxxxxxx To xsl-list@xxxxxxxxxxxxxxxxxxxxxx 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl manual sort order, Wendell Piez | Thread | Re: [xsl] xsl manual sort order, dan sherman |
Re: [xsl] XSLT in JDK1.5 from the c, Robert Koberg | Date | Re: [xsl] XSLT in JDK1.5 from the c, Wendell Piez |
Month |