Hello,

I have a soap driver that returns an embedded xml part inside the
<soapenv:body> </body> part. The problem is that the server that
generates that part (out of my control ofcourse) escapes the < (all of
them) to &lt;. That causes my stylesheet to deliver useless data into
the next policies.

As I understand it the server on the other side probably uses the
<xml:text> thing to get it converted like that. I'm at a loss converting
it back to XML :-(

How is it done?

snippet of the xml coming back:
<nds dtdversion="2.0">
<source>
<product build="20080909_144100" instance="Medborgarregistret"
version="3.5.4">Identity Manager Driver for SOAP</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:getDataResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="https://www2.blahserver.com/XML">
<getDataReturn xsi:type="xsd:string">&lt;?xml version="1.0"
encoding="ISO-8859-1"?>
&lt;Navetavisering
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://blahserver.com/avisering.xsd">
&lt;Folkbokforingsposter>
&lt;Folkbokforingspost>
value1
&lt;/Folkbokforingspost>
&lt;/Folkbokforingsposter>
&lt;/Navetavisering>
</getDataReturn>
</ns1:getDataResponse>
</soapenv:Body>
</soapenv:Envelope>

br
/anders


--
abergvall
------------------------------------------------------------------------
abergvall's Profile: http://forums.novell.com/member.php?userid=14466
View this thread: http://forums.novell.com/showthread.php?t=376681