|
Either I don't understand you or we disagree :-)
Don't you always have to check the data after the parsing? And is 'if
numCustomerID = 0' better than 'if CustomerID = *BLANK'?
I tend to see the XML-document as a box full of data items; through
XML-INTO I pick out the items that I'm interested in and leave the others
alone (allowextra=yes). Before the parsing I initialize the DS, after the
parsing I check whether I have enough data to do whatever I need to do.
I'd rather do this checking afterwards than having the XML-INTO bomb out
on me.
So indeed I am using 'allowmissing=yes' and 'allowextra=yes' as defaults
and I'm quite happy with it, thank you very much.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.