cancel
Showing results for 
Search instead for 
Did you mean: 

Handling CDATA fields in XML's in MII

Former Member
0 Kudos

Hi,

I need to pass an XML through WebService to MES system. Some of the fields are expected to have CDATA types.

While assigning values to the XML how can i assign the field to CDATA type.

I tried to use <![CDATA[[m&n]]]> directly in the link editor but it gives me error.

Then i tried "<![CDATA[[m&n]]]>" but that doesnt help me either.

I need at the output of the xml the value as m&n and not m& amp;n

Can anybody help me here.

Regards,

Satpreet Singh

Edited by: Satpreet Singh Ratra on Sep 28, 2011 11:38 AM

Edited by: Satpreet Singh Ratra on Sep 28, 2011 11:42 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

HI Satpreet,

Not sure about your exact scenario.

But if you want to assign <![CDATA[m&n]]> to any xml node. You can use the following.

1. Create XML variable for example your node is <Value> then

<Value><![CDATA[m&n]]></Value>

2. Assign it to XML node with Assign XML Link Type

Hope this will help

Thanks

Anshul