This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sorting problem



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]