XML Fragment ID value Objects that have an ID attribute may be accessed by using the value of the ID attribute. This is the default mechanism used when following a XLoc down a hierarchy. An object name is simply an XQL identifier name. See the XQL specification for the exact definition. In the context of an XML object, the name is the type name of a child.
Type names are the textual XML tags.
Within a given context, however, the type name may not uniquely specify a single child. There may be multiple children of the same type. If the type name appears alone it always specifies the first child having that type. To specify other children, see the subscript operator. As an example, consider the following XML fragment.