xsl-list
[Top] [All Lists]

Re: [xsl] Is it possible to create xsl:sort from input parameters using XSLT 2.0 (Saxon)?

2006-07-31 09:23:51

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



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--