[xsl] xsl:variable

Subject: [xsl] xsl:variable
From: "Gjergji Spaho" <gjspaho@xxxxxxxxx>
Date: Fri, 2 Jun 2006 16:32:04 +0200
Hello
I was wondering if you declare a variable like this


<xsl:variable name= "_options"> <option value= "" selected="selected ">-Select Option-</option> <option value= "Personal">Personal</ option> <option value= "New Car Loan">New Car Loan</ option> <option value= "Housing">Housing</ option> <option value= "Retail Sales Finance">Retail Sales Finance </option> <option value= "Home Equity Loan">Home Equity Loan </option> </xsl:variable>

is it possible to use it as a nodeset for example <xsl:value-of
select="$options/option[@value='xxxxx']"/>

thanks in advance!

Current Thread