Re: [xsl] can a variable hold a node set?

Subject: Re: [xsl] can a variable hold a node set?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 12 May 2009 14:47:32 +0100
> Is there a way to copy the value of document('')/*/trans:tr to a
> variable


<xsl:variable name="x" select="document('')/*/trans:tr"/>

which you vcan make a global variable outside your template



although document('') is most likely only called once in any case, as
the system will cache it.


The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 

Current Thread