I am using XSD files to validate some XML files. One rule is that no script is allowed in the xml or specifically in this case xhtml document. I reckon that we need to specify in XSD file that no tag name = "script" is allowed in the entire document. How can this control be achieved?
As a beginner is XSD world I tried
<xs:element name="script" maxOccurs="0"/>
but apparently it doesn't work.