C
CB
I know I can select a node by attribute value using something like
<xsl:apply-templates select="//*[@Name='Joe']"/>
How can I replace Joe with an attribute from the current node? I.e.,
the current node has an attribute Manager="Fred". I want a select
expression something like
"//*[@Name='"<xsl:value-of select="@Manager"/>"']"
This gives me the text I want, but I can't figure out how to embed it
into the xsl:apply-templates' select. I.e., the following won't work;
<xsl:apply-templates select="//*[@Name='"<xsl:value-of
select="@Manager"/>"']"/>
I assume it's a notational nuance I don't know yet, but which will be
immediately obvious once someone shows me what it is.
Thanks.
<xsl:apply-templates select="//*[@Name='Joe']"/>
How can I replace Joe with an attribute from the current node? I.e.,
the current node has an attribute Manager="Fred". I want a select
expression something like
"//*[@Name='"<xsl:value-of select="@Manager"/>"']"
This gives me the text I want, but I can't figure out how to embed it
into the xsl:apply-templates' select. I.e., the following won't work;
<xsl:apply-templates select="//*[@Name='"<xsl:value-of
select="@Manager"/>"']"/>
I assume it's a notational nuance I don't know yet, but which will be
immediately obvious once someone shows me what it is.
Thanks.