Is there a way to get this:
“red, blue, green”
from this:
<colorSet>
<color>red</color>
<color>blue</color>
<color>green</color>
</colorSet>
without iteration ?
… and this:
“colorA, colorB, colorC”
from this:
<colorSet>
<colorA>red</colorA>
<colorB>blue</colorB>
<colorC>green</colorC>
</colorSet>
…again, not in the loop ?
I was hoping the “XML.toString” would do it for me, but i need only the values or nodeNames. I can get that via iteration, i was just hoping for les “costly” way…
thanx all