Thanks for the info Scott.
Looks like it doesn't use the XML4C / XML4PR bits then. Thinking about that
now, I guess that makes sense, If you didn't have the product installed then
the RPG stuff wouldn't work. So it has to be standalone XML code.
Next time we need some sax parsing I'll look into the built in RPG stuff,
its a shame because it took me ages to figure out how to get SAX2 let me
specify the IFS locations of the different schema's to use to validate input
:-(.
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Scott Klement
Sent: 17 November 2010 23:24
To: RPG programming on the IBM i / System i
Subject: Re: XML-INTO (just need a quick answer)...
Hi Neill,
On 11/17/2010 4:54 PM, Neill Harper wrote:
Anyone got an RPGIV program using XML-INTO and XML-SAX that they would
care
to share a DSPPGM on to see what service programs are bound in?
It appears that XML-INTO/XML-SAX call routines in the QRNXUTIL service
program that's part of the RPG runtime. I noticed that QRNXUTIL is
bound to my RPG program, and QRNXUTIL contains the following exports
(that sound related):
_QRNX_XML_SAX
_QRNX_XML_INTO
_QRNX_PARSE_OPTIONS
But, QRNXUTIL, in turn, calls something named QLNRXPARSE. QLNRXPARSE
contains exports named SAXPARSE, DOMPARSE, LOADXML, PASSXML, etc that
make me think it's the actual XML parser. QLNRXPARSE doesn't seem to
call any other service programs that sound XML-related. (It calls IFS
routines, pthread routines, ILE routines, et al, but nothing XML-specific.)
So it sounds like QLNRXPARSE is probably the XML parser. I can't find
any further information on QLNRXPARSE.
As an Amazon Associate we earn from qualifying purchases.