|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: sort elements in external document
David Carlisle wrote:
Hi
> <xsl:for-each select="file">
> <xsl:sort select="document(file)/date"/>
> <xsl:value-of select="."/>
> <xsl:text> </xsl:text>
> <xsl:value-of select="document(file)/date"/>
> </xsl:for-each>
I guess you meant the following ;-) :
<xsl:for-each select="file">
<xsl:sort select="document(.)/date"/>
<xsl:value-of select="."/>
<xsl:text> </xsl:text>
<xsl:value-of select="document(.)/date"/>
</xsl:for-each>
Regards,
--drkm
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








