Word.Interfaces.CustomXmlPartData interface
An interface describing the data returned by calling customXmlPart.toJSON()
.
Properties
built |
Gets a value that indicates whether the |
document |
Gets the root element of a bound region of data in the document. If the region is empty, the property returns |
errors | Gets a |
id | Gets the ID of the custom XML part. |
namespace |
Gets the set of namespace prefix mappings used against the current |
namespace |
Gets the namespace URI of the custom XML part. |
schema |
Specifies a |
xml | Gets the XML representation of the current |
Property Details
builtIn
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Gets a value that indicates whether the CustomXmlPart
is built-in.
builtIn?: boolean;
Property Value
boolean
Remarks
documentElement
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Gets the root element of a bound region of data in the document. If the region is empty, the property returns Nothing
.
documentElement?: Word.Interfaces.CustomXmlNodeData;
Property Value
Remarks
errors
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Gets a CustomXmlValidationErrorCollection
object that provides access to any XML validation errors.
errors?: Word.Interfaces.CustomXmlValidationErrorData[];
Property Value
Remarks
id
Gets the ID of the custom XML part.
id?: string;
Property Value
string
Remarks
namespaceManager
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Gets the set of namespace prefix mappings used against the current CustomXmlPart
object.
namespaceManager?: Word.Interfaces.CustomXmlPrefixMappingData[];
Property Value
Remarks
namespaceUri
Gets the namespace URI of the custom XML part.
namespaceUri?: string;
Property Value
string
Remarks
schemaCollection
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies a CustomXmlSchemaCollection
object representing the set of schemas attached to a bound region of data in the document.
schemaCollection?: Word.Interfaces.CustomXmlSchemaData[];
Property Value
Remarks
xml
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Gets the XML representation of the current CustomXmlPart
object.
xml?: string;
Property Value
string