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>
--~--