xsl variables and node-sets

Simon

Usenet Archive
Joined
Jan 30, 2000
Messages
412
Reaction score
0
Hi,

I would like to use <xsl:variable> and <xsl:choose> to dynamically set a node-set to a variable.
Something like:

<xsl:variable name="MyVar">
<xsl:choose>
<xsl:when test="$MyVar2='0'">
Here I want to select a node set from the source xml document </xsl:when> <xsl:eek:therwise> Here I want to select a different node set from the source xml document </xsl:eek:therwise> </xsl:choose> </xsl:variable>

Does anyone know how I can do this?

Thanks.

Simon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,042
Messages
3,104,223
Members
248,131
Latest member
Tonypshaw1

Latest Threads

Top