I want to put syntax on an xml document. Something like should start with <class> element and under class element, only <attribute> element is allowed. On class element, name and type and modifier attributes only are allowed.
Can I do this? If so, please provide some links. Thanks. Btw, I need my document to return an error if, let's say, I put <qwerty> under class element.
Again, thanks.
