[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: 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
  • sorting problem
    • DPawson - Thu, 25 Oct 2001 08:35:48 -0400 (EDT)
      • David Carlisle - Thu, 25 Oct 2001 09:02:39 -0400 (EDT) <=
      • <Possible follow-ups>
      • DPawson - Thu, 25 Oct 2001 09:47:28 -0400 (EDT)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member