XSD-Driven XML User Attributes

To access user attributes, click the properties button on a feature type in the workspace, and select the User Attributes tab.

Readers: For information on the parameters in this dialog that are common to all readers, see:

Writers: For information on the parameters in this dialog that are common to all writers, see:

The following table shows the attribute types that are supported.

Name

A simple attribute, a list attribute, a structured attribute, or a geometry attribute.

Simple attributes

These attributes have no embedded period, and they are mapped into simple type properties in the GML application schema.

List attributes

These attributes end with a “{}” suffix, and are mapped into simple type property declarations whose maxOccurs are set to unbounded.

Structured attributes

These attributes have embedded periods: each component in a structured attribute is separated by a period, and each component may also be a list. Structured attributes are mapped into complex type properties in the XSD schema. For example, the structured FME attributes, “changeHistory.Date”, and “changeHistory.Reason” are mapped into a changeHistory element whose complex type is defined as a sequence of Date and Reason elements both of which are defined as simple types.

Type

This format supports the following field types.

xml_boolean

This type corresponds to an XML built-in data type.

xml_buffer

Mapped to an unlimited length string, xs:string, or text buffer type.

xml_byte

This type corresponds to an XML built-in data type.

xml_char(width)

Mapped to the xs:string with a length or maxLength facet.

xml_date

This type corresponds to an XML built-in data type.

xml_datetime

This type corresponds to an XML built-in data type.

xml_decimal

This type corresponds to an XML built-in data type.

xml_int16

This type corresponds to an XML built-in data type.

xml_int32

This type corresponds to an XML built-in data type.

xml_int64

This type corresponds to an XML built-in data type.

xml_real32

This type corresponds to an XML built-in data type.

xml_real64

This type corresponds to an XML built-in data type.

xml_time

This type corresponds to an XML built-in data type.

xml_ubyte

This type corresponds to an XML built-in data type.

xml_uint16

This type corresponds to an XML built-in data type.

xml_uint32

This type corresponds to an XML built-in data type.

xml_uint64

This type corresponds to an XML built-in data type.

xml_xml

Used by the reader and writer to denote that an attribute name holds an XML fragment. There is no corresponding XML schema type.

Width

The width parameter controls the maximum characters that can be stored by the field.

Precision

For some attribute types, controls the precision of the data by specifying the number of digits to the right of the decimal.