I did this and it didn't work...
<xsl:template match="/">
<xsl:variable name = "sName">
<xsl:value-of select="./uSession/sName"/>
</xsl:variable>
<xsl:variable name = "sid">
<xsl:value-of select="./uSession/sid"/>
</xsl:variable>
</xsl:template>
What XML document did you apply it to and what output were you hoping it
would produce?
As written, it declares two variables, neither of which is ever
referenced, and then exits. It's a no-op.
Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list