Posted: Mon Jul 19, 2004 2:32 am Post subject: new line in xml
Newbie
Joined: 19 Jul 2004 Posts: 2
We are working on WBIMB 5.0 and we want to have newline character in our xml value. Please have a look at the following situation.
Suppose input to the flow is
<value>
<value1>a</value1>
<value2>a</value2>
<value3>a</value3>
</value>
and we want the output to be
<value>
a
b
c
</value>
We have tried hard to append '\n' in compute node but did not succeed.
XML (not the broker!) treats extra whitespace as unnecessary and can delete it.
If you want a field to contain extra whitespace, you need to make it a CDATA field in your ESQL. _________________ I am *not* the model of the modern major general.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum