C
cephelo
I have no problems outputting the attribute value when the node is in
context, for example, @id when an <status> node is in context.
However, I am having trouble outputting it in a <xsl:value-of />
element:
<xsl:value-of select="procresults/settings@priority />
where it looks like
<procresults>
<settings priority="3" />
</procresults>
I looked through the XPath spec and didn't see anything regarding it,
I've tried using :node() and a few other modifiers with no luck.
Googling doesn't do much good as most articles are talking about the
select="" being an attribute to output instead of using select="" to
output an attribute.
Thanks for any tips,
Eric
context, for example, @id when an <status> node is in context.
However, I am having trouble outputting it in a <xsl:value-of />
element:
<xsl:value-of select="procresults/settings@priority />
where it looks like
<procresults>
<settings priority="3" />
</procresults>
I looked through the XPath spec and didn't see anything regarding it,
I've tried using :node() and a few other modifiers with no luck.
Googling doesn't do much good as most articles are talking about the
select="" being an attribute to output instead of using select="" to
output an attribute.
Thanks for any tips,
Eric