Skip to content

Instantly share code, notes, and snippets.

@anuvrat
Created May 5, 2010 10:57
Show Gist options
  • Save anuvrat/390634 to your computer and use it in GitHub Desktop.
Save anuvrat/390634 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="pba" xmlns="pba">
<xs:element name="plgen">
<xs:complexType>
<xs:sequence>
<xs:element ref="playlist" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="playlist">
<xs:complexType>
<xs:sequence>
<xs:element ref="extension" maxOccurs="1" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="extension" type="extensionType">
</xs:element>
<xs:simpleType name="extensionType">
<xs:restriction base="xs:string">
<xs:enumeration value="m3u"></xs:enumeration>
<xs:enumeration value="sf"></xs:enumeration>
<xs:whiteSpace value="collapse"></xs:whiteSpace>
</xs:restriction>
</xs:simpleType>
</xs:schema>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment