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



I have seen samples like that, but does this counter tell how many of the count of that element are in the document, or how many were parsed? That is, if I have a 10 element array, and the counter says 10, does that mean that I got all the elements, and it just happened to fill up the array, or does it mean that there are 10 or more elements in the document, and I got as many as I can handle.

Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx

-----midrange-l-bounces@xxxxxxxxxxxx wrote: -----
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
From: sjones@xxxxxxxxxxxxxxx
Sent by: midrange-l-bounces@xxxxxxxxxxxx
Date: 09/15/2011 11:05AM
Subject: Re: XML-INTO sample

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.