Subject: Re: [xsl] Is it possible to create xsl:sort from input parameters using XSLT 2.0 (Saxon)? From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 31 Jul 2006 17:23:30 +0100 |
> And into this param i pass the XML Ah, but there's the rub: is $sortField a document node (/) with child a SortFields element, in which case $sortField/SortField[1] will select nothing, or is it a SortFields element in which case $sortField/SortField[1] will select something. > but I've no real way of finding out what it is reading. sure you have, remove the xsl:sort so the error goes away, then add [<xsl:value-of select="$sortField"/>] or select="instance of $sortField element()" or anything else that may be informative to the body of your loop. David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Is it possible to create , Colin Adams | Thread | RE: [xsl] Is it possible to create , Michael Kay |
RE: [xsl] Is it possible to create , Nick Glenister | Date | Re: [xsl] Sibling axis and as="elem, andrew welch |
Month |