[[["わかりやすい","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 UTC。"],[[["\u003cp\u003eRepresents an XML \u003ccode\u003eProcessingInstruction\u003c/code\u003e node, providing methods for interaction.\u003c/p\u003e\n"],["\u003cp\u003eOffers methods to detach from parent, retrieve raw data, get parent element, target, and text value.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003edetach()\u003c/code\u003e removes the node from its parent, \u003ccode\u003egetData()\u003c/code\u003e retrieves raw instruction data, and \u003ccode\u003egetParentElement()\u003c/code\u003e fetches the parent node.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egetTarget()\u003c/code\u003e retrieves the processing instruction's target, and \u003ccode\u003egetValue()\u003c/code\u003e gets the text value of its children.\u003c/p\u003e\n"]]],[],null,["ProcessingInstruction\n\nA representation of an XML `Processing``Instruction` node. \n\nMethods\n\n| Method | Return type | Brief description |\n|-------------------------------------------|-------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|\n| [detach()](#detach()) | [Content](/apps-script/reference/xml-service/content) | Detaches the node from its parent [Element](/apps-script/reference/xml-service/element) node. |\n| [getData()](#getData()) | `String` | Gets the raw data for every instruction in the `Processing``Instruction` node. |\n| [getParentElement()](#getParentElement()) | [Element](/apps-script/reference/xml-service/element) | Gets the node's parent [Element](/apps-script/reference/xml-service/element) node. |\n| [getTarget()](#getTarget()) | `String` | Gets the target for the `Processing``Instruction` node. |\n| [getValue()](#getValue()) | `String` | Gets the text value of all nodes that are direct or indirect children of the node, in the order they appear in the document. |\n\nDetailed documentation \n\n`detach()` \nDetaches the node from its parent [Element](/apps-script/reference/xml-service/element) node. If the node does not have a parent,\nthis method has no effect.\n\nReturn\n\n\n[Content](/apps-script/reference/xml-service/content) --- the detached node\n\n*** ** * ** ***\n\n`get``Data()` \nGets the raw data for every instruction in the `Processing``Instruction` node.\n\nReturn\n\n\n`String` --- the raw data for every instruction in the `Processing``Instruction` node\n\n*** ** * ** ***\n\n`get``Parent``Element()` \nGets the node's parent [Element](/apps-script/reference/xml-service/element) node. If the node does not have a parent, this method\nreturns `null`.\n\nReturn\n\n\n[Element](/apps-script/reference/xml-service/element) --- the parent `Element` node\n\n*** ** * ** ***\n\n`get``Target()` \nGets the target for the `Processing``Instruction` node.\n\nReturn\n\n\n`String` --- the target for the `Processing``Instruction` node\n\n*** ** * ** ***\n\n`get``Value()` \nGets the text value of all nodes that are direct or indirect children of the node, in the order\nthey appear in the document.\n\nReturn\n\n\n`String` --- the text value of all nodes that are direct or indirect children of the node"]]