Skip to content

Instantly share code, notes, and snippets.

@liweinan
Created July 10, 2012 11:49
Show Gist options
  • Save liweinan/3082860 to your computer and use it in GitHub Desktop.
Save liweinan/3082860 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-16"?>
<xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" version="1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="query" type="queryType" />
<xsd:complexType name="queryType">
<xsd:sequence>
<xsd:element maxOccurs="unbounded" name="query-param" type="query-paramType" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
<xsd:complexType name="query-paramType">
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
</xsd:complexType>
</xsd:schema>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment