Hi:
I'm facing an issue with variables evaluated using xalan:evaluate.
In .xsl file I'm evluating an expression and getitng data into a variable.
(
<xslaram name="data" select="xalan:evaluate( @xpathValue ) | $root[ not( current()/@xpathValue ) ]//*[local-name() = current()/@name]"/> )
When on xml file, I use $data/firstElement, it shows o/p properly but for $data/secondElement, $data appears empty.
<column xpathName="concat($data/firstID,', ',$data/secondID)" colLabel="ID" sortable="1"/>
It prints firstID but doesn't print secondID.
I printed on $data at first place, it does have all ID's that it should be having.
I'm facing an issue with variables evaluated using xalan:evaluate.
In .xsl file I'm evluating an expression and getitng data into a variable.
(
<xslaram name="data" select="xalan:evaluate( @xpathValue ) | $root[ not( current()/@xpathValue ) ]//*[local-name() = current()/@name]"/> )
When on xml file, I use $data/firstElement, it shows o/p properly but for $data/secondElement, $data appears empty.
<column xpathName="concat($data/firstID,', ',$data/secondID)" colLabel="ID" sortable="1"/>
It prints firstID but doesn't print secondID.
I printed on $data at first place, it does have all ID's that it should be having.