Schema Central > XML Schema 1.1 > xsd:ID
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

xsd:ID

The type xsd:ID is used for an attribute that uniquely identifies an element in an XML document. An xsd:ID value must be an NCName. This means that it must start with a letter or underscore, and can only contain letters, digits, underscores, hyphens, and periods.

xsd:ID carries several additional constraints:

  • Their values must be unique within an XML instance, regardless of the attribute's name or its element name.
  • A complex type cannot include more than one attribute of type xsd:ID, or any type derived from xsd:ID.
  • xsd:ID attributes cannot have default or fixed values specified.

Simple Type Information

Namespace: http://www.w3.org/2001/XMLSchema

Schema Document: builtintypes.xsd

Content

Type Inheritance Chain

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to contrib@functx.com