[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I would like to parse CDATA !
Hi,
I'm consuming a web service with HTTPAPI.
The web service response is a quite long XML flow like this :
<?xml version="1.0" ?>
<S:Envelope
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><construct
ionOutput xmlns="http://drc99.euronautical.com/">
<?xml version="1.0" encoding="ISO-8859-1"
?>
<drcresp version="1.0" reqid="tstaru">
<constructed>
<inp>
<dept type="icao">ORY</dept>
<dest type="icao">TLS</dest>
etc ..
If I replace < ; " ; etc .. by the right signs, the result is :
<?xml version="1.0" ?>
<S:Envelope
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><construct
ionOutput xmlns="http://drc99.euronautical.com/">
<?xml version= `'1.0'' encoding=''ISO-8859-1'' ?>
<drcresp version=''1.0'' reqid=''tstaru''>
<constructed>
<inp>
<dept type=''icao''>ORY</dept>
<dest type=`'icao''>TLS</dest>
etc ..
All the text constructed as CDATA is, in fact, true XML.
Is there a solution to force the API to parse it ?
May I have help ?
In addition, is it possible to make "http_XmlStripCRLF(*ON/*OFF)"
able to manage 
Best regards
Alain RUAS
Technical Manager
(33) 562 747 500
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------