Definition Type: Element
Name: loc
Namespace: http://www.sitemaps.org/schemas/sitemap/0.9
Type: anyURI:http://www.w3.org/2001/XMLSchema
Containing Schema: sitemap.xsd
Abstract
ContentType Restriction
Documentation:
REQUIRED: The location URI of a document. The URI must conform to RFC 2396 (http://www.ietf.org/rfc/rfc2396.txt).
Collapse XSD Schema Diagram:
XSD Diagram of loc in schema sitemap_xsd (Google Site Map)
Collapse XSD Schema Code:
<xsd:element name="loc">
    <xsd:annotation>
        <xsd:documentation>
      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>
        <xsd:restriction base="xsd:anyURI">
            <xsd:minLength value="12" />
            <xsd:maxLength value="2048" />
        </xsd:restriction>
    </xsd:simpleType>
</xsd:element>
Collapse Facets:
Facet Value
MaxLength 2048
MinLength 12