3.2 User-defined Metadata
The <meta:user-defined>
element specifies any additional user-defined metadata for the document. Each
instance of this element can contain one piece of user-defined metadata. The
element contains:
�
A meta:name
attribute, which identifies the name of the metadata element.
�
An optional meta:value-type
attribute, which identifies the type of the metadata element. The allowed meta
types are float, date,
time, boolean
and string (see also section 6.7.1).
�
The value of the element, which is the metadata
in the format described in section 6.7.1 as value of the office:value
attributes for the various data types.
The default type for meta-data elements is string.
<define name="office-meta-data"
combine="choice">
<element
name="meta:user-defined">
<attribute
name="meta:name">
<ref
name="string"/>
</attribute>
<choice>
<group>
<attribute
name="meta:value-type">
<value>float</value>
</attribute>
<ref
name="double"/>
</group>
<group>
<attribute
name="meta:value-type">
<value>date</value>
</attribute>
<ref
name="dateOrDateTime"/>
</group>
<group>
<attribute
name="meta:value-type">
<value>time</value>
</attribute>
<ref
name="duration"/>
</group>
<group>
<attribute
name="meta:value-type">
<value>boolean</value>
</attribute>
<ref
name="boolean"/>
</group>
<group>
<attribute
name="meta:value-type">
<value>string</value>
</attribute>
<ref
name="string"/>
</group>
<text/>
</choice>
</element>
</define>