Created
March 8, 2012 20:38
-
-
Save jordangray/2003290 to your computer and use it in GitHub Desktop.
Validating a choice of root elements in an XML document.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!ELEMENT foo (#PCDATA)> | |
<!ELEMENT bar (#PCDATA)> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> | |
<xs:element name="foo" type="xs:string"/> | |
<xs:element name="bar" type="xs:string"/> | |
</xs:schema> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment