CustomXmlNode object (JavaScript API for Office v1.1)

JavaScript API for Office v1.1

Represents an XML node in a tree in a document.

Last modified: June 12, 2014

CustomXmlNode

Properties

Name

Description

baseName

Gets the base name of the node without the namespace prefix, if one exists.

nodeType

Gets the type of the CustomXMLNode.

namespaceUri

Retrieves the string GUID of the CustomXMLPart.

Methods

Name

Description

getNodesAsync

Asynchronously gets the nodes as an array of CustomXMLNode objects matching the relative XPath expression.

getNodeValueAsync

Asynchronously gets the value of the node.

getXmlAsync

Asynchronously gets the XML of the node.

setNodeValueAsync

Asynchronously sets the value of the node.

setXmlAsync

Asynchronously sets the XML of the node.

App types

Task pane apps

Supported clients

Word 2013, Word 2013 SP1, Word 2013 RT

Library

Office.js

Namespace

Office

Show:
© 2014 Microsoft