[xuriella-devel] selecting all attributes under a node
Andrei Stebakov
lispercat at gmail.com
Fri Jan 7 18:32:31 UTC 2011
In the following example:
(xuriella:apply-stylesheet
"<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
version='1.0'>
<xsl:template match='/'>
<xsl:if test='test-input/function[@name]'>
<xsl:value-of select='test-input/function//@value'/>
</xsl:if>
</xsl:template>
</xsl:stylesheet>"
"<test-input>
<function name='concat-strings'>
<arg value='Text1'/>
<arg value='Text2'/>
<arg value='Text3'/>
</function>
</test-input>")
The output is just Text1. Shouldn't it be "Text1Text2Text3"?
Thank you,
Andrei
More information about the xuriella-devel
mailing list