× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Mike,

The XML Event named constants are found in the ILE RPG Language
Refernece under XML events.  The only way I know of finding the integer
value is to write a program to assign an integer to each named constant
and then print the value.

Thanks,

Scott
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Mike Eovino
Sent: Friday, February 09, 2007 4:37 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: XML-INTO and namespace prefixes


Thanks to your help, I have this working.  Is there any documentation
anywhere on what the named constants equal?  EVENT is an integer, and it
would be nice to have a list of all the named constants and what they
equal, so I know what's happening when I don't catch the event.

On 1/31/07, Scott Feddersen <Scott.Feddersen@xxxxxxxxxx> wrote:
Mike,

I have not worked with namespace prefixes but I have a program using 
the XML-SAX.  I am not an expert but it is a working example.  It 
parses an xml order on the IFS into our database files.  The source is

fairly long and is in RPG free but I could send it to you.

Scott Feddersen

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx 
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Mike Eovino
Sent: Tuesday, January 30, 2007 5:45 PM
To: RPG400-L@xxxxxxxxxxxx
Subject: XML-INTO and namespace prefixes


Is anyone using XML-INTO with xml documents that utilize namespace 
prefixes?  Since you can't create data structures or subfield names 
with colons in them, I'm wondering if you can use XML-INTO on xml docs

with namespace prefixes.

I'm sure I could use XML-SAX, but I haven't found any good tutorials 
on it yet.

Thanks!
Mike E.
--
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.


--
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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.