Subject: RE: Sending this again: Never was posted. Setting up some control data / "meta"? From: Kay Michael <Michael.Kay@xxxxxxx> Date: Mon, 5 Jun 2000 16:04:02 +0100 |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Sending this again: Never was p, Kay Michael | Thread | Problems with sort., Brian Burridge |
RE: Keys across multilple input fil, Kay Michael | Date | RE: if - will this work?, Ben Robb |
Month |