Re: [xsl] sorting problem

Subject: Re: [xsl] sorting problem
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 25 Oct 2001 13:51:15 +0100
I don't understand the question.


After this:

    <xsl:for-each select="r">

you are only hgoing to get each r element once.

so what is "a" here and why does it appear twice?


Sorts out the records, but by nesting.
something like
  a
  b
  ...
  p
  a   (I.e. this is at a lower level than the previous one)


as a side issue 9or pethaps it's not, and this is were the  nesting
comes from, isn't 

    <xsl:copy>
      <!-- Including any attributes it has and any child nodes -->
      <xsl:apply-templates select="@*|node()"/>
    </xsl:copy>

just <xsl:copy-of select="."/>

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
  • [xsl] sorting problem
    • DPawson - Thu, 25 Oct 2001 13:27:06 +0100
      • David Carlisle - Thu, 25 Oct 2001 13:51:15 +0100 <=
      • <Possible follow-ups>
      • DPawson - Thu, 25 Oct 2001 14:38:52 +0100