Mark::

Have a look at this thread & see if you can use the subfield as a
counter.

http://archive.midrange.com/rpg400-l/201011/msg00387.html

Steve Jones





XML-INTO sample

Mark Murphy/STAR BASE Consulting Inc.
to:
midrange-l
09/15/2011 10:44 AM


Sent by:
midrange-l-bounces@xxxxxxxxxxxx
Please respond to Midrange Systems Technical Discussion






I am working on a proof of concept for processing an unknown number of XML
documents that include some header info and an unknown number of details.
I have looked through Scott's article at
http://systeminetwork.com/article/real-world-example-xml, and it looks
like XML-INTO will fit the bill, but I have not seen a good way to handle
an unknown number of detail formats. Would I do that with an array
embedded within the data structure at the right depth? If that is the
case, I will need to set a maximum expected number of details. How do I
know if I have overflowed that array?

Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx

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.