W3C

Google-sitemap

The document http://www.google.com/schemas/sitemap/0.84/sitemap.xsd has been classified as being possibly an Advanced XML Schema Patterns for Databinding 1.0 conformant document as it only exhibits the following patterns:

Status Nodes Name XPath
basic TargetNamespace .[@targetNamespace]/ (., @targetNamespace)
advanced UnqualifiedLocalElements .[not(@elementFormDefault) or @elementFormDefault = 'unqualified']/ (., @elementFormDefault)
basic UnqualifiedLocalAttributes .[not(@attributeFormDefault) or @attributeFormDefault = 'unqualified']/ (., @attributeFormDefault)
basic DocumentationElement .//xs:annotation/xs:documentation/ (.., ., .//*, .//@*)
basic IdentifierName .//.[matches(@name, "^[A-Za-z_]([A-Za-z0-9_]0 31)$")]/ (@name)
basic ElementMinOccurs0 .//xs:element[@minOccurs = '0' and (not(@maxOccurs) or @maxOccurs = '1')]/ (@minOccurs, @maxOccurs)
basic ElementMinOccurs1MaxOccursUnbounded .//xs:element[(not(@minOccurs) or @minOccurs = '1') and @maxOccurs = 'unbounded']/ (@minOccurs, @maxOccurs)
basic StringEnumerationType .//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:string') and xs:enumeration]/ (., @base, xs:enumeration/(., @value))
advanced ComplexTypeAll .//xs:complexType/xs:all/ (., xs:element/(., @name))
basic ComplexTypeSequence .//xs:complexType/xs:sequence/ (., xs:element/(., @name))
basic GlobalElementSequence ./xs:element[@name]/xs:complexType/xs:sequence[xs:element]/ (../../(., @name), .., ., xs:element/(., @name))
advanced GlobalElementAll ./xs:element[@name]/xs:complexType/xs:all[xs:element]/ (../../(., @name), .., ., xs:element/(., @name))
advanced GlobalElementSimpleType ./xs:element[@name]/xs:simpleType/ (../(., @name), .)
basic SequenceElement .//xs:sequence/xs:element/(.)
advanced AllElement .//xs:all/xs:element/(.)
basic SequenceSingleRepeatedElement .//xs:sequence[count(xs:element) = 1]/xs:element[@maxOccurs = 'unbounded']/ (., @maxOccurs)
advanced ElementReferenceUnqualified .//xs:element[@ref and not(contains(@ref, ':'))]/ (., @ref)
advanced RestrictedStringMinLength .//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:string')]/xs:minLength[@value]/ (.., ../@base, ., @value)
advanced RestrictedStringMaxLength .//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:string')]/xs:maxLength[@value]/ (.., ../@base, ., @value)
advanced RestrictedStringMinMaxLength .//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:string') and xs:minLength/@value and xs:maxLength/@value]/ (., @base, xs:minLength/(., @value), xs:maxLength/(., @value))
advanced RestrictedMinInclusive .//xs:simpleType/xs:restriction/xs:minInclusive[@value]/(.., ../@base, ., @value)
advanced RestrictedMaxInclusive .//xs:simpleType/xs:restriction/xs:maxInclusive[@value]/(.., ../@base, ., @value)
advanced RestrictedMaxLength .//xs:simpleType/xs:restriction/xs:maxLength[@value]/(.., ../@base, ., @value)
advanced RestrictedMinLength .//xs:simpleType/xs:restriction/xs:minLength[@value]/(.., ../@base, ., @value)
advanced GlobalElementComplexType .//xs:element[parent::xs:schema]/xs:complexType / (.,..)

<xsd:schema TargetNamespace UnqualifiedLocalElements UnqualifiedLocalAttributes targetNamespace="http://www.google.com/schemas/sitemap/0.84" TargetNamespace >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
XML Schema for Sitemap files. Last Modifed 2005-05-24
</xsd:documentation>
</xsd:annotation>
<xsd:element GlobalElementSequence GlobalElementComplexType name="urlset" IdentifierName GlobalElementSequence >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Container for a set of up to 50,000 document elements. This is the root element of the XML file.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element GlobalElementAll GlobalElementComplexType name="url" IdentifierName GlobalElementAll >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Container for the data needed to describe a document to crawl.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element GlobalElementSimpleType name="loc" IdentifierName GlobalElementSimpleType >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
REQUIRED: The location URI of a document. The URI must conform to RFC 2396 (http://www.ietf.org/rfc/rfc2396.txt).
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType GlobalElementSimpleType >
<xsd:restriction RestrictedMaxLength RestrictedMinLength base="xsd:anyURI" RestrictedMaxLength RestrictedMinLength >
<xsd:minLength RestrictedMinLength value="12" RestrictedMinLength />
<xsd:maxLength RestrictedMaxLength value="2048" RestrictedMaxLength />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element GlobalElementSimpleType name="lastmod" IdentifierName GlobalElementSimpleType >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
OPTIONAL: The date the document was last modified. The date must conform to ISO 8601 (http://www.w3.org/TR/NOTE-datetime). Example: 2005-05-10 Lastmod may also contain a timestamp. Example: 2005-05-10T17:33:30+08:00
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element GlobalElementSimpleType name="changefreq" IdentifierName GlobalElementSimpleType >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
OPTIONAL: Indicates how frequently the content at a particular URL is likely to change. The value "always" should be used to describe documents that change each time they are accessed. The value "never" should be used to describe archived URLs. Please note that web crawlers may not necessarily crawl pages marked "always" more often. Consider this element as a friendly suggestion and not a command.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType GlobalElementSimpleType >
<xsd:restriction StringEnumerationType base="xsd:string" StringEnumerationType >
<xsd:enumeration StringEnumerationType value="always" StringEnumerationType />
<xsd:enumeration StringEnumerationType value="hourly" StringEnumerationType />
<xsd:enumeration StringEnumerationType value="daily" StringEnumerationType />
<xsd:enumeration StringEnumerationType value="weekly" StringEnumerationType />
<xsd:enumeration StringEnumerationType value="monthly" StringEnumerationType />
<xsd:enumeration StringEnumerationType value="yearly" StringEnumerationType />
<xsd:enumeration StringEnumerationType value="never" StringEnumerationType />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element GlobalElementSimpleType name="priority" IdentifierName GlobalElementSimpleType >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
OPTIONAL: The priority of a particular URL relative to other pages on the same site. The value for this element is a number between 0.0 and 1.0 where 0.0 identifies the lowest priority page(s). The default priority of a page is 0.5. Priority is used to select between pages on your site. Setting a priority of 1.0 for all URLs will not help you, as the relative priority of pages on your site is what will be considered.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType GlobalElementSimpleType >
<xsd:restriction RestrictedMinInclusive RestrictedMaxInclusive base="xsd:decimal" RestrictedMinInclusive RestrictedMaxInclusive >
<xsd:minInclusive RestrictedMinInclusive value="0.0" RestrictedMinInclusive />
<xsd:maxInclusive RestrictedMaxInclusive value="1.0" RestrictedMaxInclusive />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:schema>

This document was produced by the W3C XML Schema Patterns for Databinding Working Group. Comments on this document may be sent to the public public-xsd-databinding-comments@w3.org mailing list (public archive).