Created
May 26, 2011 09:36
-
-
Save kaero/992841 to your computer and use it in GitHub Desktop.
resources.xsd
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
<?xml version="1.0" encoding="UTF-8"?> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
targetNamespace="http://example.com/app/resources" xmlns="http://example.com/app/resources" | |
xmlns:res="http://example.com/app/resources"> | |
<xs:complexType name="resource-description"> | |
<xs:attribute name="src"/> | |
<xs:attribute name="media"/> | |
</xs:complexType> | |
<xs:complexType name="resource-collection"> | |
<xs:sequence> | |
<xs:element maxOccurs="unbounded" ref="resource"/> | |
</xs:sequence> | |
</xs:complexType> | |
<xs:element name="resource" type="resource-description"/> | |
<xs:element name="related-resources" type="resource-collection"/> | |
</xs:schema> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment