[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: http_parse_xml_string usage
Thanks Scott,
I'm clearly not understanding something. The string to be parsed is an
RPG variable in EBCDIC. Based on a literal reading of the documentation,
"peCCSID = (input) CCSID of string to be parsed", I thought the
following would work, but it did not.
XMLData = '<OrderID>123</OrderID>';
rc = http_parse_xml_string(%addr(XMLData)
: %len(XMLData)
: 37
: %paddr(BegTag)
: %paddr(EndTag)
: *null);
Is the CCSID wrong? What part am I missing?
--rmc
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott
Klement
Sent: Thursday, October 30, 2008 12:40 AM
To: HTTPAPI and FTPAPI Projects
Subject: Re: http_parse_xml_string usage
Rick,
> I planned to use http_parse_xml_string to parse the xml directly
> but, if I understand you, http_parse_xml_string will not work for me
> because my xml is in EBCDIC.
You didn't understand. http_parse_xml_string() will work fine if used
correctly. Re-read my message.
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------