|
I've played with QXMLPR500 and tried to parse your test.xml . The QxmlDOMNodeList_getLength returns 105 elements and for each one the QxmlDOMElement_getAttribute can return the attributes by their name, one at a time (like Desc, Dir, Route, etc) Giuseppe. ----- Original Message ----- From: <M.Effenberg@xxxxxxxxxxxx> To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx> Sent: Monday, October 11, 2004 4:39 PM Subject: RE: [RPG XML] misuse of DOMXPath_getElemCount() ? > > I feared you'd say this :) > You already told me to do so a month ago. > But I don't really like that SAX stuff, so I tried to get DOM working. > DOM is easier to imagine (with that tree structure). > > But it seems I have to try SAX. > > I've seen this WDSc stuff on some pages, but we don't use WDSc or Java here > at our company. > > But thanks for the info. > > - Martin > > ------------------------------ > Use the SAX parser instead that is also on my site. It is quite faster > and less bulky. I don't support the DOM parser wrappers I wrote anymore > because the SAX parser is the one to use. > BTW, if you know Java that is the way you should be processing your XML. > WDSc has some amazing wizards to get you up and running with XML in > minutes, literally. > Aaron Bartell > > > > > > > ------------------don bale wrote: > Could you give a brief explanation of the XMLSAX parser? Your web site > offers the download (which I am retrieving -- 22MB???) but little else that > I could see of that describes what it does. > > Yep, 2-3 more examples would be nice. > > > I am also downloading the rpg-xml-parser from your Code page; is this > something different from XMLSAX? > these are the above mentioned DOM procedures. > they are quite nice and easy to use. > but... see above > > > -- > This is the RPG programming on the AS400 / iSeries (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-2025 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.