I have data that looks like
<Root>
<Main Value="Line1|Li ne2.|Line3|Line 4.|Line5"/>
</Root>
I'm using
Translate(@Valu e, "|.", ",")
to get rid of periods, and exchange the pipe character for a comma, which
works fine.
what I really want to do is, once the above is done, change the comma
to a comma and space ", " so it looks good in the output. I've tried
Translate(Trans late()) but that didn't seem to work.
Any ideas?
I'm using MS XML 4 SP2 and XSL.
<Root>
<Main Value="Line1|Li ne2.|Line3|Line 4.|Line5"/>
</Root>
I'm using
Translate(@Valu e, "|.", ",")
to get rid of periods, and exchange the pipe character for a comma, which
works fine.
what I really want to do is, once the above is done, change the comma
to a comma and space ", " so it looks good in the output. I've tried
Translate(Trans late()) but that didn't seem to work.
Any ideas?
I'm using MS XML 4 SP2 and XSL.
Comment