A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/apps-script/reference/xml-service/entity-ref below:

Class EntityRef | Apps Script

Class EntityRef

Stay organized with collections Save and categorize content based on your preferences.

EntityRef

A representation of an XML EntityReference node.

Detailed documentation detach()

Detaches the node from its parent Element node. If the node does not have a parent, this method has no effect.

Return

Content — the detached node

getName()

Gets the name of the EntityReference node.

Return

String — the name of the EntityReference node

getParentElement()

Gets the node's parent Element node. If the node does not have a parent, this method returns null.

Return

Element — the parent Element node

getPublicId()

Gets the public ID of the EntityReference node. If the node does not have a public ID, this method returns null.

Return

String — the public ID of the EntityReference node, or null if it has none

getSystemId()

Gets the system ID of the EntityReference node. If the node does not have a system ID, this method returns null.

Return

String — the system ID of the EntityReference node, or null if it has none

getValue()

Gets the text value of all nodes that are direct or indirect children of the node, in the order they appear in the document.

Return

String — the text value of all nodes that are direct or indirect children of the node

setName(name)

Sets the name of the EntityReference node.

Parameters Name Type Description name String the name to set Return

EntityRef — the EntityReference node, for chaining

setPublicId(id)

Sets the public ID of the EntityReference node.

Parameters Name Type Description id String the public ID to set Return

EntityRef — the EntityReference node, for chaining

setSystemId(id)

Sets the system ID of the EntityReference node.

Parameters Name Type Description id String the system ID to set Return

EntityRef — the EntityReference node, for chaining

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.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-02 UTC."],[[["`EntityRef` represents an XML `EntityReference` node, providing methods to interact with and modify it within a document."],["It offers methods to get and set the name, public ID, and system ID of the entity reference."],["You can detach the node from its parent, retrieve its text value, and access its parent element using provided methods."],["This class facilitates working with external entities referenced within an XML document using Apps Script's XML Service."]]],["The `EntityRef` represents an XML entity reference node. Key actions include: getting the node's name, parent element, public ID, system ID, and the text value of its children. It also allows detaching from its parent. You can set the node's name, public ID, and system ID. If the node doesn't have a parent, public ID, or system ID, methods will return null or have no effect.\n"]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4