|
Hello Charles,
I use Scotts port of the Expat parser to parse XML documents, and then mainly the included HTTP streamfile parse procedures out of the HTTPAPI from Scott.
I am using the included xml api from IBM to validate against any XSD specified, and can provide you with the code to specify where and which XSD to use.
It is used to precheck xml documents we need to parse, and also verify our own generated XML files, and we call the validator directly from out RPG programs..
Kind regards,
Loek Maartens.
----- Original Message -----
From: "Charles Wilt" <charles.wilt-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx>
Newsgroups: gmane.comp.hardware.ibm.midrange
To: "Midrange Systems Technical Discussion" <midrange-l-Zwy7GipZuJhWk0Htik3J/w@xxxxxxxxxxxxxxxx>; "HTTPAPI and FTPAPI Projects" <ftpapi-rGrgPyRx506yJKoIg1G1sryuOJWzk3PP@xxxxxxxxxxxxxxxx>
Sent: Wednesday, October 21, 2009 9:39 PM
Subject: Processing a received XML document - support for XSD?
All,--
I'm going to be receiving an XML document that I'll need to process.
I had originally intended to make use of Scott port of Expat to parse
the document.
However, apparently Expat doesn't support validating the document
against an XML Schema Document (XSD). Given that we're creating the
XSD, and a third party is supposed to be following it, having the XML
processor validate against the XSD instead of doing my own validation
in RPG would seem like a useful feature.
Is there anything on the i that I can use to validate and process the XML?
Thanks,
Charles Wilt
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.