{"Entry":{"collection":"func","key":"xmlpi","name":"xmlpi","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"8.2","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"8.3"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"375dd4519ddae8164354bbfafd94c24f845851aa5a518047d3c6b62a7f93fb94","first_version":"8.3","group":"xml","group_label":"Xml Functions","groups":["xml"],"imported_at":"2026-09-27T17:57:28.805007+08:00","last_version":"20","name":"xmlpi","name_key":"xmlpi","position":15023,"present_in":["8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"signature":"xmlpi ( NAME name [, content] ) → xml","signature_count":1,"slug":"xmlpi","source_rev":"b7bd9cda","summary":"The xmlpi expression creates an XML processing instruction.","summary_zh":""}},"Definition":{"Collection":"func","Key":"xmlpi","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"xmlpi","SourceRevision":"b7bd9cda","Facts":{"description":"The xmlpi expression creates an XML processing instruction. As for xmlelement, the name must be a simple identifier, while the content expression can have any data type. The content, if present, must not contain the character sequence ?\u003e.","description_html":"The \u003ccode class=\"function\"\u003exmlpi\u003c/code\u003e expression creates an XML processing instruction. As for \u003ccode class=\"function\"\u003exmlelement\u003c/code\u003e, the \u003cem class=\"replaceable\"\u003e\u003ccode\u003ename\u003c/code\u003e\u003c/em\u003e must be a simple identifier, while the \u003cem class=\"replaceable\"\u003e\u003ccode\u003econtent\u003c/code\u003e\u003c/em\u003e expression can have any data type. The \u003cem class=\"replaceable\"\u003e\u003ccode\u003econtent\u003c/code\u003e\u003c/em\u003e, if present, must not contain the character sequence \u003ccode class=\"literal\"\u003e?\u0026gt;\u003c/code\u003e.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-PRODUCING-XML-XMLPI","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 xmlpi expression creates an XML processing instruction. As for xmlelement, the name must be a simple identifier, while the content expression can have any data type. The content, if present, must not contain the character sequence ?\u003e.","description_html":"The \u003ccode class=\"function\"\u003exmlpi\u003c/code\u003e expression creates an XML processing instruction. As for \u003ccode class=\"function\"\u003exmlelement\u003c/code\u003e, the \u003cem class=\"replaceable\"\u003e\u003ccode\u003ename\u003c/code\u003e\u003c/em\u003e must be a simple identifier, while the \u003cem class=\"replaceable\"\u003e\u003ccode\u003econtent\u003c/code\u003e\u003c/em\u003e expression can have any data type. The \u003cem class=\"replaceable\"\u003e\u003ccode\u003econtent\u003c/code\u003e\u003c/em\u003e, if present, must not contain the character sequence \u003ccode class=\"literal\"\u003e?\u0026gt;\u003c/code\u003e.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003exmlpi\u003c/code\u003e ( \u003ccode class=\"literal\"\u003eNAME\u003c/code\u003e \u003cem class=\"replaceable\"\u003e\u003ccode\u003ename\u003c/code\u003e\u003c/em\u003e [\u003cspan class=\"optional\"\u003e, \u003cem class=\"replaceable\"\u003e\u003ccode\u003econtent\u003c/code\u003e\u003c/em\u003e\u003c/span\u003e] ) → \u003ccode class=\"returnvalue\"\u003exml\u003c/code\u003e","returns":"xml","text":"xmlpi ( NAME name [, content] ) → xml","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-PRODUCING-XML-XMLPI","file":"functions-xml.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"xmlpi","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"xmlpi","Summary":"表达式xmlpi创建一个 XML 处理指令。与xmlelement一样，name必须是一个简单的标识符，而content表达式可以有任何数据类型。如果存在，content不能包含字符序列?\u003e。","BodyHTML":"表达式\u003ccode\u003exmlpi\u003c/code\u003e创建一个 XML 处理指令。与\u003ccode\u003exmlelement\u003c/code\u003e一样，\u003cem\u003e\u003ccode\u003ename\u003c/code\u003e\u003c/em\u003e必须是一个简单的标识符，而\u003cem\u003e\u003ccode\u003econtent\u003c/code\u003e\u003c/em\u003e表达式可以有任何数据类型。如果存在，\u003cem\u003e\u003ccode\u003econtent\u003c/code\u003e\u003c/em\u003e不能包含字符序列\u003ccode\u003e?\u0026gt;\u003c/code\u003e。\u003cpre\u003exmlpi ( NAME name [, content] ) → xml\u003c/pre\u003e表达式\u003ccode\u003exmlpi\u003c/code\u003e创建一个 XML 处理指令。与\u003ccode\u003exmlelement\u003c/code\u003e一样，\u003cem\u003e\u003ccode\u003ename\u003c/code\u003e\u003c/em\u003e必须是一个简单的标识符，而\u003cem\u003e\u003ccode\u003econtent\u003c/code\u003e\u003c/em\u003e表达式可以有任何数据类型。如果存在，\u003cem\u003e\u003ccode\u003econtent\u003c/code\u003e\u003c/em\u003e不能包含字符序列\u003ccode\u003e?\u0026gt;\u003c/code\u003e。","SourceRevision":"ca936764","ContentHash":"03e195f14a59e525e0c96241602cf4280eaa83a691ead94a7658548c6229b67a","Payload":{"description_zh":"表达式xmlpi创建一个 XML 处理指令。与xmlelement一样，name必须是一个简单的标识符，而content表达式可以有任何数据类型。如果存在，content不能包含字符序列?\u003e。","description_zh_html":"表达式\u003ccode class=\"function\"\u003exmlpi\u003c/code\u003e创建一个 XML 处理指令。与\u003ccode class=\"function\"\u003exmlelement\u003c/code\u003e一样，\u003cem class=\"replaceable\"\u003e\u003ccode\u003ename\u003c/code\u003e\u003c/em\u003e必须是一个简单的标识符，而\u003cem class=\"replaceable\"\u003e\u003ccode\u003econtent\u003c/code\u003e\u003c/em\u003e表达式可以有任何数据类型。如果存在，\u003cem class=\"replaceable\"\u003e\u003ccode\u003econtent\u003c/code\u003e\u003c/em\u003e不能包含字符序列\u003ccode class=\"literal\"\u003e?\u0026gt;\u003c/code\u003e。","signatures":[{"description_zh":"表达式xmlpi创建一个 XML 处理指令。与xmlelement一样，name必须是一个简单的标识符，而content表达式可以有任何数据类型。如果存在，content不能包含字符序列?\u003e。","description_zh_html":"表达式\u003ccode class=\"function\"\u003exmlpi\u003c/code\u003e创建一个 XML 处理指令。与\u003ccode class=\"function\"\u003exmlelement\u003c/code\u003e一样，\u003cem class=\"replaceable\"\u003e\u003ccode\u003ename\u003c/code\u003e\u003c/em\u003e必须是一个简单的标识符，而\u003cem class=\"replaceable\"\u003e\u003ccode\u003econtent\u003c/code\u003e\u003c/em\u003e表达式可以有任何数据类型。如果存在，\u003cem class=\"replaceable\"\u003e\u003ccode\u003econtent\u003c/code\u003e\u003c/em\u003e不能包含字符序列\u003ccode class=\"literal\"\u003e?\u0026gt;\u003c/code\u003e。","returns":"xml","text":"xmlpi ( NAME name [, content] ) → xml","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"7181bceda318284dbe770cb48af9d1810e4aa08ad3748fd1186098663c6c06ab","Text":"xmlpi ( NAME name [, content] ) → xml","Returns":"xml","Payload":{"description":"The xmlpi expression creates an XML processing instruction. As for xmlelement, the name must be a simple identifier, while the content expression can have any data type. The content, if present, must not contain the character sequence ?\u003e.","description_html":"The \u003ccode class=\"function\"\u003exmlpi\u003c/code\u003e expression creates an XML processing instruction. As for \u003ccode class=\"function\"\u003exmlelement\u003c/code\u003e, the \u003cem class=\"replaceable\"\u003e\u003ccode\u003ename\u003c/code\u003e\u003c/em\u003e must be a simple identifier, while the \u003cem class=\"replaceable\"\u003e\u003ccode\u003econtent\u003c/code\u003e\u003c/em\u003e expression can have any data type. The \u003cem class=\"replaceable\"\u003e\u003ccode\u003econtent\u003c/code\u003e\u003c/em\u003e, if present, must not contain the character sequence \u003ccode class=\"literal\"\u003e?\u0026gt;\u003c/code\u003e.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003exmlpi\u003c/code\u003e ( \u003ccode class=\"literal\"\u003eNAME\u003c/code\u003e \u003cem class=\"replaceable\"\u003e\u003ccode\u003ename\u003c/code\u003e\u003c/em\u003e [\u003cspan class=\"optional\"\u003e, \u003cem class=\"replaceable\"\u003e\u003ccode\u003econtent\u003c/code\u003e\u003c/em\u003e\u003c/span\u003e] ) → \u003ccode class=\"returnvalue\"\u003exml\u003c/code\u003e","returns":"xml","text":"xmlpi ( NAME name [, content] ) → xml","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
