B
Bloody Viking
Namaste, Y'all.
Given an element A containing elements B,C,D,E,F, I need to create a
variable that gets the value of element C, conditionally followed by
the value of element D, only if the element following C is named 'X'.
How do I do this?
<xsl:template match="A">
<xsl:variable name="someText">
<xsl:value-of select="C">
<xsl:if <!-- YOUR CODE HERE -->
</xsl:variable>
<!-- more XSLT here -->
</xsl:template>
TIA,
Paul M Lieberman
Given an element A containing elements B,C,D,E,F, I need to create a
variable that gets the value of element C, conditionally followed by
the value of element D, only if the element following C is named 'X'.
How do I do this?
<xsl:template match="A">
<xsl:variable name="someText">
<xsl:value-of select="C">
<xsl:if <!-- YOUR CODE HERE -->
</xsl:variable>
<!-- more XSLT here -->
</xsl:template>
TIA,
Paul M Lieberman