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

Re: xsl manual sort order

Subject: Re: xsl manual sort order
From: JBryant@xxxxxxxxx
Date: Thu, 24 Mar 2005 13:38:31 -0600
xsl manual
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 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

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.