I'm trying to consume a webservice made in Delphi
My problem is that the result is a XML (a delphi datapacket-like), but it is 
escaped
I mean <,>, etc.. are &lt; &gt;  etc.
And when I try to use the XSLT processor, I can't reference /return/DATAPACKET/ 
...
it doesn't work the way it is....

Any idea ?

Example

<?xml version="1.0" encoding="utf-8"?>
<return xmlns:delegation="http://orbeon.org/oxf/xml/delegation"; 
xmlns:xhtml="http://www.w3.org/1999/xhtml"; 
xmlns:oxf="http://www.orbeon.com/oxf/processors"; 
xmlns:f="http://orbeon.org/oxf/xml/formatting"; 
xmlns:p="http://www.orbeon.com/oxf/pipeline"; xsi:type="xsd:string">&lt;?xml 
version="1.0" encoding="UTF-8"?&gt;
&lt;DATAPACKET&gt;&lt;METADATA&gt;&lt;FIELDS&gt;&lt;FIELD attrname="CLIENT_ID" 
fieldtype="string" width=""/&gt;&lt;FIELD attrname="DELEGATE_ID" 
fieldtype="string" width=""/&gt;&lt;FIELD attrname="ID_TYPE" fieldtype="string" 
width=""/&gt;&lt;FIELD attrname="SYS_CODE" fieldtype="string" 
width=""/&gt;&lt;FIELD attrname="PROFILE_CODE" fieldtype="string" 
width=""/&gt;&lt;FIELD attrname="PWD_CHANGE" fieldtype="string" 
width=""/&gt;&lt;FIELD attrname="MUESTRA_DATOS" fieldtype="string" 
width=""/&gt;&lt;FIELD attrname="MUESTRA_CONTRATO" fieldtype="string" 
width=""/&gt;&lt;FIELD attrname="ES_FISICA" fieldtype="string" 
width=""/&gt;&lt;/FIELDS&gt;&lt;/METADATA&gt;&lt;ROWDATA&gt;&lt;ROW 
CLIENT_ID="11013919" DELEGATE_ID="107710332" ID_TYPE="WEBID" SYS_CODE="WB" 
PROFILE_CODE="WBP" PWD_CHANGE="N" MUESTRA_DATOS="N" MUESTRA_CONTRATO="N" 
ES_FISICA="S"/&gt;&lt;/ROWDATA&gt;&lt;/DATAPACKET&gt;
</return>



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to