Edit

Share via


Word.Interfaces.XmlMappingData interface

An interface describing the data returned by calling xmlMapping.toJSON().

Properties

customXmlNode

Returns a CustomXmlNode object that represents the custom XML node in the data store that the content control in the document maps to.

customXmlPart

Returns a CustomXmlPart object that represents the custom XML part to which the content control in the document maps.

isMapped

Returns whether the content control in the document is mapped to an XML node in the document's XML data store.

prefixMappings

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

[ API set: WordApiDesktop 1.3 ]

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

[ API set: WordApiDesktop 1.3 ]

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

[ API set: WordApiDesktop 1.3 ]

prefixMappings

Returns the prefix mappings used to evaluate the XPath for the current XML mapping.

prefixMappings?: string;

Property Value

string

Remarks

[ API set: WordApiDesktop 1.3 ]

xpath

Returns the XPath for the XML mapping, which evaluates to the currently mapped XML node.

xpath?: string;

Property Value

string

Remarks

[ API set: WordApiDesktop 1.3 ]