This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Sending this again: Never was posted. Setting up some control data / "meta"?
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Sending this again: Never was posted. Setting up some control data / "meta"?
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Mon, 5 Jun 2000 16:04:02 +0100
- Reply-To: xsl-list at mulberrytech dot com
> I have this code:
>
> <xsl:apply-templates>
> <xsl:sort select="/PAGE/@sort"/>
> </xsl:apply-templates>
>
> It doesn't give an error, but isn't sorting by the value of
> "/PAGE/@sort".
Since the sort key is an absolute path, its value doesn't depend on the
context node, so it will have the same value for every node in the node-set
you are trying to sort. Sort keys should normally be relative paths.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list