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

RE: Data sequence

Subject: RE: Data sequence
From: "JS rawat" <jrawat@xxxxxxxxxxxxxx>
Date: Fri, 22 Oct 2010 14:08:17 +0530
RE:  Data sequence
Thanks Michael and Mukul for quick help!!! 

-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx] 
Sent: Friday, October 22, 2010 1:31 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Data sequence


<xsl:for-each select="author">
<xsl:sort select="number(seq)"/>
<xsl:copy-of select="."/>
</xsl:for-each>

Michael Kay
Saxonica
>
> Hi Team,
> Is there any quick idea about how to sequence the authors in the 
> output file.
>
> Input
> <article>
> <author seq="1">author 1</author>
> <author seq="3">author 3</author>
> <author seq="2">author 2</author>
> </article>
>
> Desired output
> <article>
> <au seq="1">author 1</author>
> <au seq="2">author 2</author>
> <author seq="3">author 3</author>
> </article>
>
> Thanks in advance
> ...JSR

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.