| FlexDoc/XML XSDDoc Demo | XML Schema for XSLT 2.0 & XSD 1.0

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

element <xs:field>

Namespace: | http://www.w3.org/2001/XMLSchema
Type: | anonymous complexType (extension of xs:annotated)
Content: | complex, 2 attributes, attr. wildcard, 1 element
Block: | "#all" (blocks all substitutions of this element or its type)
Defined: | globally in XMLSchema.xsd; see XML source
Includes: | declaration of 1 attribute
Referenced: | by 1 location

Component Diagram

XML Representation Summary
<xs:field
id | = | xs:ID
xpath | = | restriction of xs:token
| {any attribute from non-schema namespace}
| >
Content: | xs:annotation?
</xs:field>

Attributes:

Attribute | Type / Value | Default | Required? | Declared In | Description
id | xs:ID |  | no | xs:annotated |
xpath | anonymous : restriction of xs:token |  | yes | this |
{any attribute} | from non-schema namespace |  | no | xs:openAttrs |

Content Element Model:

Component | Type / Value | Occurs | Nillable? | Declared In | Description
xs:annotation | anonymous | 0..1 | no | xs:annotated | See: http://www.w3.org/TR/xmlschema-1/#element-annotation

Description
See: http://www.w3.org/TR/xmlschema-1/#element-field
Related Components

- Included in content model of elements (3):
  xs:key, xs:keyref, xs:unique

Referenced By

- In global complexTypes (1):
  xs:keybase [ref]

Anonymous Type Detail

Type Derivation Tree xs:anyType (restriction) xs:openAttrs (extension) xs:annotated (extension) complexType

Attribute Details (all declarations; defined in this component only; 1/3)
xpath

Type: | anonymous simpleType (restriction of xs:token)
Use: | required
Defined: | locally in (this) element xs:field; see XML source

Attribute Value Detail

restriction of xs:token

The following pattern is intended to allow XPath
expressions per the same EBNF as for selector,
with the following change:
Path ::= ('.//')? ( Step '/' )* ( Step | '@' NameTest )

Pattern: | (\.//)?((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)/)*((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)|((attribute::|@)((\i\c*:)?(\i\c*|\*))))(\|(\.//)?((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)/)*((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)|((attribute::|@)((\i\c*:)?(\i\c*|\*)))))*

Anonymous simpleType

Type Derivation Tree xs:anySimpleType (restriction) xs:string (restriction) xs:normalizedString (restriction) xs:token (restriction) simpleType

Annotation 1 [src]:
A subset of XPath expressions for use
in fields
Annotation 2 [src]:
A utility type, not for public
use

Derivation: | restriction of xs:token The following pattern is intended to allow XPath expressions per the same EBNF as for selector, with the following change: Path ::= ('.//')? »
Facets: |
pattern: | see by attribute xpath

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

XML schema documentation generated with FlexDoc/XML 1.15 using FlexDoc/XML XSDDoc 3.5 template set. All XSD diagrams generated by FlexDoc/XML DiagramKit.