T
Tjerk Wolterink
I have xml inpput like this:
<meta:empty/>
And xsl like this:
<xsl:template match="meta:empty">A</xsl:template>
<xsl:template match="//meta:*">B</xsl:template>
The namespaces meta or both bound to the same uri, so no
problem with that.
My Question,
what should be outputted when i input the meta:empty element,
A
or
B
My xsl processor outputs B, but i expect it to output A
because the match pattern "meta:empty" is more specifc then
"//meta:*"
What should it do?
<meta:empty/>
And xsl like this:
<xsl:template match="meta:empty">A</xsl:template>
<xsl:template match="//meta:*">B</xsl:template>
The namespaces meta or both bound to the same uri, so no
problem with that.
My Question,
what should be outputted when i input the meta:empty element,
A
or
B
My xsl processor outputs B, but i expect it to output A
because the match pattern "meta:empty" is more specifc then
"//meta:*"
What should it do?