BEN
2004-07-28 15:33:16 UTC
Hi,
I want to concat all value of attributes into a value as output.
My XML is
<a>
<b id='1'/>
<b id='2'/>
<b id='3'/>
<b id='4'/>
</a>
The file output is still a XML file and the value of a tag I want is
'1,2,3,4' (concat all value of 'id')
<o>1,2,3,4</o>
I tried to use 'concat' function and variable in XSLT file but not success.
I only retrieve '4' as the output. Please help.
Thanks in advance.
Bennett
I want to concat all value of attributes into a value as output.
My XML is
<a>
<b id='1'/>
<b id='2'/>
<b id='3'/>
<b id='4'/>
</a>
The file output is still a XML file and the value of a tag I want is
'1,2,3,4' (concat all value of 'id')
<o>1,2,3,4</o>
I tried to use 'concat' function and variable in XSLT file but not success.
I only retrieve '4' as the output. Please help.
Thanks in advance.
Bennett