<customXml>
(Block-Level Custom XML Element)
This element specifies the presence of a custom XML element around one or more block level structures (paragraphs, tables, etc.). The attributes on this element shall be used to specify the name and namespace URI of the current custom XML element.
<w:body> <w:customXml w:element="address" … > <w:p> … </w:p> </w:customXml> … </w:body>
The <customXml>
element specifies that the name of the custom XML element is address
, and the custom XML element contains a single paragraph (it is a block-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_CustomXmlBlock">
<sequence>
<element name="customXmlPr" type="CT_CustomXmlPr" minOccurs="0" maxOccurs="1"/>
<group ref="EG_ContentBlockContent" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="uri" type="ST_String"/>
<attribute name="element" type="ST_String" use="required"/>
</complexType>