CustomXMLNodeType enumeration (JavaScript API for Office)

apps for Office

Specifies the node type.

Last modified: February 25, 2015

See all support details

Hosts:

Word

Added in

1.0

See all support details

Office.CustomXMLNodeType

Values

Enumeration

Value

Description

Office.CustomXMLNodeType.Attribute

"attribute"

The node is an attribute.

Office.CustomXMLNodeType.CData

"CData"

The node is a CData type.

Office.CustomXMLNodeType.NodeComment

"comment"

The node is a comment.

Office.CustomXMLNodeType.Element

"element"

The node is an element.

Office.CustomXMLNodeType.NodeDocument

"nodeDocument"

The node is a Document element.

Office.CustomXMLNodeType.ProcessingInstruction

"processingInstruction"

The node is a processing instruction.

Office.CustomXMLNodeType.Text

"text"

The node is a text node.

A checkmark (√) in the following matrix indicates that this enumeration is supported in the corresponding Office host application. An empty cell indicates that the Office host application doesn't support this enumeration.

For more information about Office host application and server requirements, see Requirements for running apps for Office.

Supported hosts, by platform

Office for Windows desktop

Office for Windows RT

Office Online
(in browser)

Word

App types

Task pane

Library

Office.js

Namespace

Office

Version

Changes

1.0

Introduced

Show:
© 2015 Microsoft