Enum ContentType
ContentType
An enumeration representing the types of XML content nodes.
To call an enum, you call its parent class, name, and property. For example,
XmlService.ContentType.CDATA
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 UTC."],[[["`ContentType` is an enumeration used to represent the types of XML content nodes in Apps Script."],["The available `ContentType` properties include: `CDATA`, `COMMENT`, `DOCTYPE`, `ELEMENT`, `ENTITYREF`, `PROCESSINGINSTRUCTION`, and `TEXT`, each representing a different type of XML node."],["To use a ContentType property, call its parent class, name, and the specific property, such as `XmlService.ContentType.CDATA`."]]],[]]