|
Peter,
you can catch the data with the XMLREADER in powerEXT Core, it is free and
can be downloaded fro http://powerEXT.com
the code is:
dow xmlReader = 0;
select;
when xmlGetNode = 'height' and xmlGetAttr = 'reference';
myref = xmlGetData;
when xmlGetNode = 'height' and xmlGetAttr = 'refrerenceHeight';
myrefhight = xmlGetData;
when xmlGetNode = 'height' and xmlGetAttr = '';
myheight = xmlGetData;
endsl;
enddo;
On Sat, Jan 12, 2013 at 9:38 PM, Peter Dow <petercdow@xxxxxxxxx> wrote:
I thought about that, but didn't pursue it because it turns out they
don't need that information.
I totally agree about the real solution; unfortunately, they're moving
off the IBM i, so no hope of that happening.
But it's all good to know for future use.
Thanks Jon and Birgitta!
--
*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
petercdow@xxxxxxxxx <mailto:petercdow@xxxxxxxxx>
pdow@xxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxx>/
On 1/12/2013 10:35 AM, Jon Paris wrote:
Birgitta's approach will not work until you are at least on V6.http://www.mcpressonline.com/programming/rpg/rpg-has-sax-appeal.html
I published the basics of one possible work-around here:
I know I published something that was even more directly related to thisbut I can't find it. The basic idea is to use XML-INTO to grab the "bulk"
of the data and then use XML-SAX to parse the document this time picking up
the field(s) you had to omit during the XML-INTO parse.
But of course the "real" solution is to move to a supported release<grin>
--
On 2013-01-12, at 12:18 PM, rpg400-l-request@xxxxxxxxxxxx wrote:
Thanks Birgitta. I didn't see datasubf in the v5r4 manual, and when IJon Paris
compile I get
*RNF0224 30 021600 Error in %XML options at position 50,
"datasubf=data".
www.partner400.com
www.SystemiDeveloper.com
This is the RPG programming on the IBM i (AS/400 and 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-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.