Mike Cunningham wrote:
I am not an xml expert but would it cause problems if every instance of the parent have something like...

<Order></Order>

Aka a null value for "Order"

I think it depends entirely on the code that is parsing the document. I receive some documents that have empty tags, but some recipients will specify that this is not allowed (the Revenue Canada T4* electronic submission being a recent example I've seen).

I believe that the XML spec allows this, although <Order /> is the preferred form for an empty Order tag IIRC.

HTH,
Adam


* T4s are the "wages paid to employees" forms that employers must submit to Revenue Canada and distribute to employees.

This thread ...

Replies:

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

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