xml - Reference to parent node in XSD? -


In the present w3c version of XSD, parents have a way to refer to nodes or hair nodes, especially when Determine the rules node?

To make it more clear, can I add a rule to the baby node that compares the parent node value and vice versa?

Thanks & amp; Regards, Wind

In the document level element is the beginning of XSD, and define that each element Children or specialties are allowed. / P>

So your answer is yes - you can define child elements, but no - you can not define parents.


Comments

Popular posts from this blog

SQL/PHP: Table design question -

NHibernate Passing Session to the Repository -

c# - XMLDocument.Validate Error: System.InvalidOperationException : The XmlSchemaSet on the document is either null or has no schemas in it -