Word.Interfaces.XmlMappingData interface
An interface describing the data returned by calling xmlMapping.toJSON().
Properties
| custom |
Returns a |
| custom |
Returns a |
| is |
Returns whether the content control in the document is mapped to an XML node in the document's XML data store. |
| prefix |
Returns the prefix mappings used to evaluate the XPath for the current XML mapping. |
| xpath | Returns the XPath for the XML mapping, which evaluates to the currently mapped XML node. |
Property Details
customXmlNode
Returns a CustomXmlNode object that represents the custom XML node in the data store that the content control in the document maps to.
customXmlNode?: Word.Interfaces.CustomXmlNodeData;
Property Value
Remarks
customXmlPart
Returns a CustomXmlPart object that represents the custom XML part to which the content control in the document maps.
customXmlPart?: Word.Interfaces.CustomXmlPartData;
Property Value
Remarks
isMapped
Returns whether the content control in the document is mapped to an XML node in the document's XML data store.
isMapped?: boolean;
Property Value
boolean
Remarks
prefixMappings
Returns the prefix mappings used to evaluate the XPath for the current XML mapping.
prefixMappings?: string;
Property Value
string
Remarks
xpath
Returns the XPath for the XML mapping, which evaluates to the currently mapped XML node.
xpath?: string;
Property Value
string