<customXml>
(Inline-Level Custom XML Element)
This element specifies the presence of a custom XML element around one or more inline level structures (runs, images, fields, etc.) within a paragraph. The attributes on this element shall be used to specify the name and namespace URI of the current custom XML element.
<w:p> <w:customXml w:element="firstName" … > <w:r> … </w:r> <w:r> … </w:r> </w:customXml> … </w:p>
The <customXml>
element specifies that the name of the custom XML element is firstName
, and the custom XML element contains a two text runs (it is an inline-level element). ]
Parent Elements |
---|
|
Child Elements |
Subclause |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Attributes |
Description |
---|---|
|
Specifies the name of the current custom XML element or smart tag within the document. <w:customXml w:element="companyName" … > … </w:customXml> The The possible values for this attribute are defined by the ST_String simple type (§2.18.89). |
|
Specifies the namespace URI of the current custom XML element or smart tag. If this attribute is omitted, the URI shall be assumed to be null (no associated URI). <w:customXml … w:uri="urn:customXmlExample" /> … </w:customXml> The The possible values for this attribute are defined by the ST_String simple type (§2.18.89). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_CustomXmlRun">
<sequence>
<element name="customXmlPr" type="CT_CustomXmlPr" minOccurs="0" maxOccurs="1"/>
<group ref="EG_PContent" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="uri" type="ST_String"/>
<attribute name="element" type="ST_String" use="required"/>
</complexType>