Edit

Share via


Word.CustomXmlAppendChildNodeOptions interface

The options that define the prefix mapping and the source of the custom XML data.

Remarks

[ API set: WordApiDesktop 1.3 ]

Properties

name

If provided, specifies the base name of the element to be appended.

namespaceUri

If provided, specifies the namespace of the element to be appended. This property is required to append nodes of type element or attribute; otherwise, it's ignored.

nodeType

If provided, specifies the type of node to append. If the property isn't specified, it's assumed to be of type element.

nodeValue

If provided, specifies the value of the appended node for those nodes that allow text. If the node doesn't allow text, the property is ignored.

Property Details

name

If provided, specifies the base name of the element to be appended.

name?: string;

Property Value

string

Remarks

[ API set: WordApiDesktop 1.3 ]

namespaceUri

If provided, specifies the namespace of the element to be appended. This property is required to append nodes of type element or attribute; otherwise, it's ignored.

namespaceUri?: string;

Property Value

string

Remarks

[ API set: WordApiDesktop 1.3 ]

nodeType

If provided, specifies the type of node to append. If the property isn't specified, it's assumed to be of type element.

nodeType?: Word.CustomXmlNodeType | "element" | "attribute" | "text" | "cData" | "processingInstruction" | "comment" | "document";

Property Value

Word.CustomXmlNodeType | "element" | "attribute" | "text" | "cData" | "processingInstruction" | "comment" | "document"

Remarks

[ API set: WordApiDesktop 1.3 ]

nodeValue

If provided, specifies the value of the appended node for those nodes that allow text. If the node doesn't allow text, the property is ignored.

nodeValue?: string;

Property Value

string

Remarks

[ API set: WordApiDesktop 1.3 ]