<xmlColumnPr>
(XML Column Properties)
An element defining the XML column properties for a column. This is only used for tables created from XML mappings.
<tableColumn id="1" uniqueName="SomeElement" name="SomeElement"> <xmlColumnPr mapId="1" xpath="/xml/foo/element" xmlDataType="string"/> </tableColumn>
Parent Elements |
---|
|
Child Elements |
Subclause |
---|---|
|
Attributes |
Description |
---|---|
|
A Boolean that indicates whether the contents of the column have been filled down due to flattening. This should be used when an XML mapping parent value has many children, and both the parent and child fields are mapped to their own column in the table. example:
<Order ID="3"> <Item>Milk</Item> <Item>Bread</Item> <Item>Cheese</Item> </Order> The resulting table in the spreadsheet application would have two columns, the first with the item ID, filled down for each item in the table as follows: Item ID Item 3 Milk 3 Bread 3 Cheese The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
An integer representing the ID of the XML map this table field is associated with. The XML map will be defined in the xml maps part, and the The possible values for this attribute are defined by the XML Schema unsignedInt datatype. |
|
An enumeration indicating which XML data type is used by this column. The possible values for this attribute are defined by the ST_XmlDataType simple type (§3.18.95). |
|
A string representing the XML path to the element this column is associated with. The spreadsheet application should support XPath limited to the following
example:
"/ns1:root/ns1:row/ns1:column1" is supported if 'column1' is a child-most node, but not "/ns1:root/ns1:row" for the same document since 'row' is not a child.
example:
"/ns1:root/ns1:row" is supported but not "/ns1:root/child::ns1:row
example:
"/ns1:root/ns1:row/ns1:column1[@foo='abc']" is supported but not "/ns1:root/ns1:row[@foo='abc']/ns1:column1"
example:
"/ns1:root/ns1:row/ns1:column1[@foo='abc']" is supported not "/ns1:root/ns1:row/ns1:column1[attribute::foo='abc']"
example:
"/ns1:root/ns1:row/ns1:column1[ @ foo='abc']" is valid The possible values for this attribute are defined by the ST_Xstring simple type (§3.18.96). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_XmlColumnPr">
<sequence>
<element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="mapId" type="xsd:unsignedInt" use="required"/>
<attribute name="xpath" type="ST_Xstring" use="required"/>
<attribute name="denormalized" type="xsd:boolean" use="optional" default="false"/>
<attribute name="xmlDataType" type="ST_XmlDataType" use="required"/>
</complexType>