tsd:attributeInfo

This element can be used in two different contexts:

  1. In the context of xs:attribute/xs:annotation/xs:appinfo:

    Purpose

    This element contains information describing e.g. mapping, indexing or collation aspects of an attribute described by the XML Schema part of TSD.

    Note:
    A tsd:attributeInfo element may only be inserted under an xs:attribute/xs:annotation/xs:appinfo chain if the xs:attribute element of which tsd:attributeInfo is a successor has a name attribute and not a ref attribute.

    Parent element xs:attribute/xs:annotation/xs:appinfo
    Child elements tsd:logical, tsd:physical
    Attributes None

    Example

    This shows the tsd:attributeInfo element for native storage with standard indexing:

    <xs:attribute name = "width">
      <xs:annotation>
        <xs:appinfo>
          <tsd:attributeInfo>
            <tsd:physical>
              <tsd:native>
                <tsd:index>
                  <tsd:standard/>
                </tsd:index>
              </tsd:native>
            </tsd:physical>
          </tsd:attributeInfo>
        </xs:appinfo>
      </xs:annotation>
    .
    .
    .
    </xs:attribute>
    
  2. In the context of tsd:schemaInfo:

    Purpose The tsd:attributeInfo element contains information describing e.g. mapping, indexing or collation aspects of an attribute described by the XML Schema part of TSD.
    Parent element tsd:schemaInfo
    Child elements tsd:physical
    Attributes context
    Attributes
    Name Type Description
    context xs:string

    The context attribute is to be used for tsd:attributeInfo specified below a schemaInfo element. Based on its value, the xs:element or xs:attribute to which the tsd:attributeInfo belongs is determined. The meaning of the value is essentially the same as for the tsd:which element, i.e. a string of the following syntax can be specified:

    ("/" element name) * "/" (element name | "@" attribute name)