Subject: Re: [xsl] sort problem From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 4 Sep 2002 16:17:19 +0100 |
> Where am I making a mistake??? here <xsl:apply-templates select="@* | * "> the * only selects elements, you want * | text() or node(). then you will pick up text nodes as well. > to sort an xml document based on the > node names & also, the attribute names... Note you are sorting teh attribute nodes based on their name but this may or may not have any effect on the way the document is output. the system may output attributes in any order. David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] sort problem, aruniima . chakrabar | Thread | RE: [xsl] sort problem, aruniima . chakrabar |
RE: [xsl] XSLT/XPath help to resolv, Stuart Brown | Date | [xsl] Netscape6 transformations, katharine wykes |
Month |