Re: download node-set problem from newbie

Blaine Garrett <[email protected]>
Newsgroups gmane.text.xml.xslt.extensions
Message-ID <[email protected]>
Hi Angela,

I think you can just do this in xsl anyway.

<xsl:variable name="sorted_nodes">
    <xsl:call-templates name="my_sort_function">
          <xsl:with-param select="xpath_to_to_nodes_to_sort" />
    </xsl:call-templates>
</xsl:variable>

<xsl:copy-of select="$sorted_nodes" />

Then in your tempate that does the sorting, just do a copy-of  to send 
the sorted node result as the "return" statement.

Hope that helps

Blaine Garrett
http://artattack.to?zombie





Angela Cornwell wrote:

>   I would like to assign the results of a sorted list to a variable and
>   do further transformations on it, so for that I assume I need the
>   node-set function. I'm running the Debian testing version of 
>   Libxslt1.1. I am not sure about its support for exslt.
>   I can not find neither exsl.node-set.xsl nor exsl.object-type.xsl
>
>   Do I need to get this separately?
>
> Regards,
> Angela Cornwell
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! Mail 
> <http://us.rd.yahoo.com/mail_us/taglines/50x/*http://promotions.yahoo.com/new_mail/static/efficiency.html> 
> - 50x more storage than other providers!
>
>------------------------------------------------------------------------
>
>_______________________________________________
>exslt mailing list
>[email protected]
>http://www.exslt.org/list
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.