Hi,

Is their an easier way to escape the xml characters that are contained
within a string value?

If my string value has some xml characters, the soap response is
escaping them to say > etc as below. See how I get <name instead
of <nam:...

The contents within nq:objectWrapper are from a "fromXML" method I
implemented for one of the custom-serializer. I tried escaping before I
send it to createElement, but it didn't help.

Any help is appreciated.

Thanks.

--Baseer

            <tns:WsResourceProperties
xmlns:tns="http://ws.apache.org/muse/test/wsrf";>
                <nq:objectWrapper
xmlns:nq="http://schemas.xyz.com/2006/07/Chameleon/namedQuery";>&lt;nam:o
bjectWrapper
bean="com.cisco.cmp.schemas.x2006.x07.chameleon.equipmentP.impl.Equipmen
tTypeImpl"
xmlns:nam="http://schemas.cmp.cisco.com/2006/07/Chameleon/namedQuery"&gt
;&lt;topp:Top xsi:type="equ:EquipmentType"
xmlns:equ="http://schemas.xyz.com/2006/07/Chameleon/EquipmentP";
xmlns:topp="http://schemas.cmp.cisco.com/2006/07/Chameleon/TopP";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;&lt;topp:id&gt;
PrimaryEquipment0&lt;/topp:id&gt;&lt;res:isSendingAlarms
xmlns:res="http://schemas.xyz.com/2006/07/Chameleon/ResourceP"&gt;false&;
lt;/res:isSendingAlarms&gt;&lt;/topp:Top&gt;&lt;/nam:objectWrapper&gt;</
nq:objectWrapper>
                

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to