Subject: Re: [xsl] Sorting Two Dimensional Table From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Tue, 16 Oct 2007 17:22:31 +0200 |
Thanks for that answer but unfortunately, I can't get it to work. I don't know if it is due to the fact that I'm using Internet Explorer to see the transform but I'm getting this error:
'Reference to variable or parameter 'k1' must evaluate to a node list.'
<xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="xs">
<xsl:variable name="k1" as="xs:string+">
<xsl:perform-sort select="x/titles/key">
<xsl:sort select="."/>
</xsl:perform-sort>
</xsl:variable>
Martin Honnen http://JavaScript.FAQTs.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Sorting Two Dimensional T, Pierre-Luc Bertrand | Thread | [xsl] Announce: Hands-on XSL traini, G. Ken Holman |
RE: [xsl] Sorting Two Dimensional T, Scott Trenda | Date | RE: [xsl] Sorting Two Dimensional T, Pierre-Luc Bertrand |
Month |