N
namrathu1
Hi,
I'm facing a problem with my XSL. I have two nodes with the same name
at different levels in my XSL and while writing rules i.e in the
template match it writes the same name. Hence it is not able to
differentiate between the two and i don't get correct results when I
do an array-get.
I tried putting the XPath value but that doesn't help as in i don't
get any output.
Example:
<xsl:template match="cbc:ID"
xmlns:cbc="urnasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<xsl:apply-templates/>
<!-- array get rule here -->
</xsl:template>
<xsl:template match="cbc:ID"
xmlns:cbc="urnasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<xsl:apply-templates/>
<!-- array get rule here -->
</xsl:template>
Any inputs from your side will be of great help.
Thanks in advance,
Smitha
I'm facing a problem with my XSL. I have two nodes with the same name
at different levels in my XSL and while writing rules i.e in the
template match it writes the same name. Hence it is not able to
differentiate between the two and i don't get correct results when I
do an array-get.
I tried putting the XPath value but that doesn't help as in i don't
get any output.
Example:
<xsl:template match="cbc:ID"
xmlns:cbc="urnasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<xsl:apply-templates/>
<!-- array get rule here -->
</xsl:template>
<xsl:template match="cbc:ID"
xmlns:cbc="urnasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<xsl:apply-templates/>
<!-- array get rule here -->
</xsl:template>
Any inputs from your side will be of great help.
Thanks in advance,
Smitha