On 2012/4/20 11:01 AM, Klugman, Luke wrote:
I am using the following xml-into opcode to parse some xml the new
countprefix option.
However, when I do not have any elements for my specific count instead
of the count being zero, it is being set to 16448. I have defined all my
count fields as 5i 0.
I am also using allowmissing=yes if this is effecting the results.

I agree with Jon that the problem is most likely that you didn't name your countprefix subfields according to the way your specified the countprefix option, or that you put the countprefix subfields at a different level from the counted subfields.

If you could post your XML-INTO statement and options, and the data structure, then we can see whether you have got your subfields named correctly and coded your countprefix option correctly.

You can post the DS and XML-INTO statement code at http://code.midrange.com and then in your forum post you can just post the URL that it gives you.

(I also agree with Jon that you probably don't need allowmissing=yes if you have countprefix.)

This thread ...


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

This mailing list archive is Copyright 1997-2019 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].