{"Entry":{"collection":"func","key":"xmltext","name":"xmltext","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"16","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"17"}],"content_hash":"b0661ca956481c2abf63263b9e446f99906729a43de47f7999f17cc44cf3d08a","first_version":"17","group":"xml","group_label":"Xml Functions","groups":["xml"],"imported_at":"2026-09-14T21:49:48.775035+08:00","last_version":"20","name":"xmltext","name_key":"xmltext","position":15026,"present_in":["17","18","19","20"],"signature":"xmltext ( text ) → xml","signature_count":1,"slug":"xmltext","source_rev":"2026-09-14T13:14:25.684213+00:00@99e6866c","summary":"The function xmltext returns an XML value with a single text node containing the input argument as its content.","summary_zh":""}},"Definition":{"Collection":"func","Key":"xmltext","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"xmltext","SourceRevision":"2026-09-14T13:14:25.684213+00:00@99e6866c","Facts":{"description":"The function xmltext returns an XML value with a single text node containing the input argument as its content. Predefined entities like ampersand (\u0026), left and right angle brackets (\u003c \u003e), and quotation marks (\"\") are escaped.","description_html":"The function \u003ccode class=\"function\"\u003exmltext\u003c/code\u003e returns an XML value with a single text node containing the input argument as its content. Predefined entities like ampersand (\u003ccode class=\"literal\"\u003e\u0026amp;\u003c/code\u003e), left and right angle brackets (\u003ccode class=\"literal\"\u003e\u0026lt; \u0026gt;\u003c/code\u003e), and quotation marks (\u003ccode class=\"literal\"\u003e\"\"\u003c/code\u003e) are escaped.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-PRODUCING-XML-XMLTEXT","file":"functions-xml.html","slug":"18"},"group":"xml","group_label":"Xml Functions","lang":"en","layout":"table-new","pages":["functions-xml.html"],"prose_only":false,"signatures":[{"description":"The function xmltext returns an XML value with a single text node containing the input argument as its content. Predefined entities like ampersand (\u0026), left and right angle brackets (\u003c \u003e), and quotation marks (\"\") are escaped.","description_html":"The function \u003ccode class=\"function\"\u003exmltext\u003c/code\u003e returns an XML value with a single text node containing the input argument as its content. Predefined entities like ampersand (\u003ccode class=\"literal\"\u003e\u0026amp;\u003c/code\u003e), left and right angle brackets (\u003ccode class=\"literal\"\u003e\u0026lt; \u0026gt;\u003c/code\u003e), and quotation marks (\u003ccode class=\"literal\"\u003e\"\"\u003c/code\u003e) are escaped.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003exmltext\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003exml\u003c/code\u003e","returns":"xml","text":"xmltext ( text ) → xml","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-PRODUCING-XML-XMLTEXT","file":"functions-xml.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"xmltext","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"xmltext","Summary":"函数 xmltext 返回一个只包含单个文本节点的 XML 值，该文本节点的内容就是输入参数。预定义实体，例如和号（\u0026）、左右尖括号（\u003c \u003e）以及引号（\"\"），都会被转义。","BodyHTML":"函数 \u003ccode\u003exmltext\u003c/code\u003e 返回一个只包含单个文本节点的 XML 值，该文本节点的内容就是输入参数。预定义实体，例如和号（\u003ccode\u003e\u0026amp;\u003c/code\u003e）、左右尖括号（\u003ccode\u003e\u0026lt; \u0026gt;\u003c/code\u003e）以及引号（\u003ccode\u003e\u0026#34;\u0026#34;\u003c/code\u003e），都会被转义。\u003cpre\u003exmltext ( text ) → xml\u003c/pre\u003e函数 \u003ccode\u003exmltext\u003c/code\u003e 返回一个只包含单个文本节点的 XML 值，该文本节点的内容就是输入参数。预定义实体，例如和号（\u003ccode\u003e\u0026amp;\u003c/code\u003e）、左右尖括号（\u003ccode\u003e\u0026lt; \u0026gt;\u003c/code\u003e）以及引号（\u003ccode\u003e\u0026#34;\u0026#34;\u003c/code\u003e），都会被转义。","SourceRevision":"2026-09-12T08:18:26.491985+00:00@e2a86b52","ContentHash":"ba361e591ffda9e650dc59101acc134c17c234873bdd5f0db647c5050601c9f7","Payload":{"description_zh":"函数 xmltext 返回一个只包含单个文本节点的 XML 值，该文本节点的内容就是输入参数。预定义实体，例如和号（\u0026）、左右尖括号（\u003c \u003e）以及引号（\"\"），都会被转义。","description_zh_html":"函数 \u003ccode class=\"function\"\u003exmltext\u003c/code\u003e 返回一个只包含单个文本节点的 XML 值，该文本节点的内容就是输入参数。预定义实体，例如和号（\u003ccode class=\"literal\"\u003e\u0026amp;\u003c/code\u003e）、左右尖括号（\u003ccode class=\"literal\"\u003e\u0026lt; \u0026gt;\u003c/code\u003e）以及引号（\u003ccode class=\"literal\"\u003e\"\"\u003c/code\u003e），都会被转义。","signatures":[{"description_zh":"函数 xmltext 返回一个只包含单个文本节点的 XML 值，该文本节点的内容就是输入参数。预定义实体，例如和号（\u0026）、左右尖括号（\u003c \u003e）以及引号（\"\"），都会被转义。","description_zh_html":"函数 \u003ccode class=\"function\"\u003exmltext\u003c/code\u003e 返回一个只包含单个文本节点的 XML 值，该文本节点的内容就是输入参数。预定义实体，例如和号（\u003ccode class=\"literal\"\u003e\u0026amp;\u003c/code\u003e）、左右尖括号（\u003ccode class=\"literal\"\u003e\u0026lt; \u0026gt;\u003c/code\u003e）以及引号（\u003ccode class=\"literal\"\u003e\"\"\u003c/code\u003e），都会被转义。","returns":"xml","text":"xmltext ( text ) → xml","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["17","18","19","20"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"67bab0c31a1c1f1ee742470492a03c89b5683e4f0000052c46ad7dcd4fd413b4","Text":"xmltext ( text ) → xml","Returns":"xml","Payload":{"description":"The function xmltext returns an XML value with a single text node containing the input argument as its content. Predefined entities like ampersand (\u0026), left and right angle brackets (\u003c \u003e), and quotation marks (\"\") are escaped.","description_html":"The function \u003ccode class=\"function\"\u003exmltext\u003c/code\u003e returns an XML value with a single text node containing the input argument as its content. Predefined entities like ampersand (\u003ccode class=\"literal\"\u003e\u0026amp;\u003c/code\u003e), left and right angle brackets (\u003ccode class=\"literal\"\u003e\u0026lt; \u0026gt;\u003c/code\u003e), and quotation marks (\u003ccode class=\"literal\"\u003e\"\"\u003c/code\u003e) are escaped.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003exmltext\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003exml\u003c/code\u003e","returns":"xml","text":"xmltext ( text ) → xml","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
