It's still not clear what you are trying to achieve. Do you want to validate that the XML is well formed (regardless of the content), or do you want to check that the content is consistent with the structure (so that 1.1.1 is nested two levels for example), or do you want to check that there is some semantic consistency (for example between id="xxx" and <no>yyy</no>)?
Can you provide an example including well formed data and bad data with the output you wish to generate?
In reply to Re: section nesting
by GrandFather
in thread section nesting
by anniyan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |