[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
I'm trying to do something like this:
Seems pretty straight forward. I've tried lots of variations using [] and {}. Apparently, node matching patterns are more subtle than I thought. Any help would be appreciated.
-- Willy
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Variables in select attributes
Subject: Variables in select attributes From: WCB <WCBorg@xxxxxxxxxxxx> Date: Sun, 18 Jun 2000 16:17:14 -0700 |
I'm trying to do something like this:
<xsl:for-each select="//*"> <TR> <TD> <xsl:value-of select="name()"/> </TD> <TD> <xsl:variable name="curr_name"> <xsl:value-of select="name()"/> </xsl:variable> <xsl:value-of select="count(//$curr_name)"/> <xsl:value-of select="$curr_name"/> </TD> </TR> </xsl:for-each>
Seems pretty straight forward. I've tried lots of variations using [] and {}. Apparently, node matching patterns are more subtle than I thought. Any help would be appreciated.
-- Willy
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: xml entities, Mike Brown | Thread | Re: Variables in select attributes, Jeni Tennison |
Recursive Template Application, Philip Koester | Date | Re: XML/XSL courses, James Robertson |
Month |