|
Subject: [xsl] value of the value of a variable From: "Hardy Merrill" <HMerrill@xxxxxxxxxxxxxxxx> Date: Tue, 23 Nov 2004 09:30:31 -0500 |
Here is a snippet of my call and template:
-----------------------------------------------------------------
<xsl:call-template name="get_inactive">
<xsl:with-param name="distno" select="district_no"/>
<xsl:with-param name="disttype" select="district_type"/>
<xsl:with-param name="mytag" select="'full_name'"/>
<xsl:with-param name="legislators"
select="msxsl:node-set($sorted_legislators)"/>
</xsl:call-template>
<xsl:template name="get_inactive">
<xsl:param name="distno"/>
<xsl:param name="disttype"/>
<xsl:param name="mytag"/>
<xsl:param name="legislators"/>
<xsl:for-each
select="msxsl:node-set($legislators)/*[legislator_active = 0 and
district_no = $distno and district_type = $disttype]">
<xsl:value-of select="$mytag" /> <<<=====
this one ======
</xsl:for-each>
</xsl:template>
--------------------------------------------------------------
In "this one" in the template, $mytag contains the literal "full_name"
- what I want is the *text value* of the full_name tag, but this isn't
doing it for me. How do I get that?
TIA.
Hardy Merrill
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Switching off running hea, G. Ken Holman | Thread | Re: [xsl] value of the value of a v, Jeni Tennison |
| Re: [xsl] Grouping while sorting, Ragulf Pickaxe | Date | RE: [xsl] value of the value of a v, Pieter Reint Siegers |
| Month |