I need to create an XSD schema that validates a tree structure of an XML document. I don't know exactly the ocurrences or depth level of the tree.
XML example:
<?xml version="1.0" encoding="utf-8"?>
<node>
<attribute/>
<node>
<attribute/>
<node>
</node>
</node>
</node>
Which is the best way to validate it?
Thanks