|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: using different templates
> > 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.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








