Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Easy Question: assign variable to a value-of select

Status
Not open for further replies.

HerbAndEdnaWeinstein

Technical User
Apr 30, 2003
104
0
0
US
Hi, brand new to XSL.

I can print the string I'm after with this:

<td><xsl:value-of select="node/subnode"/></td>

But, if I try to assign a variable like this, it returns an error:

<xsl:variable name="GetNode" value-of select="node/subnode" />

Is this a simple syntax error?

Thanks!!!
Herbie
 
<xsl:variable name="GetNode" select="node/subnode" />
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top