This is the mail archive of the mailing list .

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

Re: sorting by date

> So where, and how, do i include your xsl:sort tag?

You don't:-)

In this version you are not using a for-each or an apply-templates to
construct a current node list which you then process, you are selecting
your items one at a time and moving around the soutce "by hand" with
ord]/Date" />

so you never (as far as I can see)  ever select more than one node at a
time so you can't use xsl:sort.

Most likely the easiest thing to do is sort forst into a temporary

<xsl:variable name="x">
<xsl:sort ...
<xsl:copy-of seelct="."/>

then apply the templates you have got already using 


where xx:node-set() is your processors node-set extension function.


This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:

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