[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003e\u003ccode\u003eContentType\u003c/code\u003e is an enumeration used to represent the types of XML content nodes in Apps Script.\u003c/p\u003e\n"],["\u003cp\u003eThe available \u003ccode\u003eContentType\u003c/code\u003e properties include: \u003ccode\u003eCDATA\u003c/code\u003e, \u003ccode\u003eCOMMENT\u003c/code\u003e, \u003ccode\u003eDOCTYPE\u003c/code\u003e, \u003ccode\u003eELEMENT\u003c/code\u003e, \u003ccode\u003eENTITYREF\u003c/code\u003e, \u003ccode\u003ePROCESSINGINSTRUCTION\u003c/code\u003e, and \u003ccode\u003eTEXT\u003c/code\u003e, each representing a different type of XML node.\u003c/p\u003e\n"],["\u003cp\u003eTo use a ContentType property, call its parent class, name, and the specific property, such as \u003ccode\u003eXmlService.ContentType.CDATA\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum ContentType\n\nContentType\n\nAn enumeration representing the types of XML content nodes.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nXmlService.ContentType.CDATA`. \n\n### Properties\n\n| Property | Type | Description |\n|-------------------------|--------|-------------------------------------------------------------------------------------------------|\n| `CDATA` | `Enum` | An XML [CDATASection](/apps-script/reference/xml-service/cdata) node. |\n| `COMMENT` | `Enum` | An XML [Comment](/apps-script/reference/xml-service/comment) node. |\n| `DOCTYPE` | `Enum` | An XML [DocumentType](/apps-script/reference/xml-service/doc-type) node. |\n| `ELEMENT` | `Enum` | An XML [Element](/apps-script/reference/xml-service/element) node. |\n| `ENTITYREF` | `Enum` | An XML [EntityReference](/apps-script/reference/xml-service/entity-ref) node. |\n| `PROCESSINGINSTRUCTION` | `Enum` | An XML [ProcessingInstruction](/apps-script/reference/xml-service/processing-instruction) node. |\n| `TEXT` | `Enum` | An XML [Text](/apps-script/reference/xml-service/text) node. |"]]