{"Entry":{"collection":"func","key":"xmlforest","name":"xmlforest","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":"789ef16b488e9a3286d0f836a9dd3b07035e941e5bf47f16a105b71f8b0c94d6","derived_content_hash":"89bbf72e008f5a0faaf008c0f9529bac475d8ec7f2b466ae1da254eac8708d44","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:970e1ae330962f952c1ac142dffaf62e4d6e4461c1a156ebe3ef54aff4fe70ff","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"8.3","group":"xml","group_label":"Xml Functions","groups":["xml"],"imported_at":"2026-09-27T17:57:28.802208+08:00","last_version":"20","name":"xmlforest","name_key":"xmlforest","position":15022,"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"],"repair_provenance":{"original_source_revision":"b7bd9cda","receipt_sha256":"01c0722be14cb8cc6bd8eac54ab0ac15d12ae222503ce8e11f67964cdea5886f","repair":"wiki-repair-20261023"},"signature":"xmlforest ( content [AS name] [, ...] ) → xml","signature_count":1,"slug":"xmlforest","source_rev":"wiki-repair-20261023:970e1ae330962f952c1ac142dffaf62e4d6e4461c1a156ebe3ef54aff4fe70ff","summary":"The xmlforest expression produces an XML forest (sequence) of elements using the given names and content.","summary_zh":""}},"Definition":{"Collection":"func","Key":"xmlforest","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"xmlforest","SourceRevision":"wiki-repair-20261023:970e1ae330962f952c1ac142dffaf62e4d6e4461c1a156ebe3ef54aff4fe70ff","Facts":{"description":"The xmlforest expression produces an XML forest (sequence) of elements using the given names and content. As for xmlelement, each name must be a simple identifier, while the content expressions can have any data type.","description_html":"The \u003ccode class=\"function\"\u003exmlforest\u003c/code\u003e expression produces an XML forest (sequence) of elements using the given names and content. As for \u003ccode class=\"function\"\u003exmlelement\u003c/code\u003e, each \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 expressions can have any data type.","description_zh":"表达式 xmlforest 使用给定名称和内容产生由元素构成的 XML 森林（序列）。与 xmlelement 一样，每个 name 都必须是一个简单的标识符，而 content 表达式可以有任何数据类型。","description_zh_html":"表达式 \u003ccode class=\"function\"\u003exmlforest\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 表达式可以有任何数据类型。","doc":{"anchor":"FUNCTIONS-PRODUCING-XML-XMLFOREST","file":"functions-xml.html","sha256":"01aeb9b85a44b934664d02e73f09eba80ac8da243706dd1ea2b4943d6cf43a31","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-xml.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"01aeb9b85a44b934664d02e73f09eba80ac8da243706dd1ea2b4943d6cf43a31","version":"18.7"},{"file":"functions-xml.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"7f81f95d894b56436ba5c9f248999c6f79a15eff2f8e02803e9578894005ba44","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"xml","group_label":"XML 函数","lang":"en","layout":"table-new","pages":["functions-xml.html"],"prose_only":false,"signatures":[{"description":"The xmlforest expression produces an XML forest (sequence) of elements using the given names and content. As for xmlelement, each name must be a simple identifier, while the content expressions can have any data type.","description_html":"The \u003ccode class=\"function\"\u003exmlforest\u003c/code\u003e expression produces an XML forest (sequence) of elements using the given names and content. As for \u003ccode class=\"function\"\u003exmlelement\u003c/code\u003e, each \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 expressions can have any data type.","description_zh":"表达式 xmlforest 使用给定名称和内容产生由元素构成的 XML 森林（序列）。与 xmlelement 一样，每个 name 都必须是一个简单的标识符，而 content 表达式可以有任何数据类型。","description_zh_html":"表达式 \u003ccode class=\"function\"\u003exmlforest\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 表达式可以有任何数据类型。","examples":[],"html":"\u003ccode class=\"function\"\u003exmlforest\u003c/code\u003e ( \u003cem class=\"replaceable\"\u003e\u003ccode\u003econtent\u003c/code\u003e\u003c/em\u003e [\u003cspan class=\"optional\"\u003e\u003ccode class=\"literal\"\u003eAS\u003c/code\u003e \u003cem class=\"replaceable\"\u003e\u003ccode\u003ename\u003c/code\u003e\u003c/em\u003e\u003c/span\u003e] [\u003cspan class=\"optional\"\u003e, ...\u003c/span\u003e] ) → \u003ccode class=\"returnvalue\"\u003exml\u003c/code\u003e","returns":"xml","text":"xmlforest ( content [AS name] [, ...] ) → xml","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-xml.html","sha256":"fecb5d8486a96d59e4b5808eeaa769d216ab3be80602eb0c73702f28dd37388c"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-PRODUCING-XML-XMLFOREST","file":"functions-xml.html","sha256":"01aeb9b85a44b934664d02e73f09eba80ac8da243706dd1ea2b4943d6cf43a31","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"xmlforest","SourceDatabase":"center","Version":"18","Locale":"en","Title":"xmlforest","Summary":"The xmlforest expression produces an XML forest (sequence) of elements using the given names and content. As for xmlelement, each name must be a simple identifier, while the content expressions can have any data type.","BodyHTML":"The \u003ccode\u003exmlforest\u003c/code\u003e expression produces an XML forest (sequence) of elements using the given names and content. As for \u003ccode\u003exmlelement\u003c/code\u003e, each \u003cem\u003e\u003ccode\u003ename\u003c/code\u003e\u003c/em\u003e must be a simple identifier, while the \u003cem\u003e\u003ccode\u003econtent\u003c/code\u003e\u003c/em\u003e expressions can have any data type.","SourceRevision":"wiki-repair-20261023:970e1ae330962f952c1ac142dffaf62e4d6e4461c1a156ebe3ef54aff4fe70ff","ContentHash":"6dc2656beb6b44794a429bf3b1747a88710560c7672a68e816560c574d0322c5","Payload":{"description":"The xmlforest expression produces an XML forest (sequence) of elements using the given names and content. As for xmlelement, each name must be a simple identifier, while the content expressions can have any data type.","description_html":"The \u003ccode class=\"function\"\u003exmlforest\u003c/code\u003e expression produces an XML forest (sequence) of elements using the given names and content. As for \u003ccode class=\"function\"\u003exmlelement\u003c/code\u003e, each \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 expressions can have any data type.","signatures":[{"description":"The xmlforest expression produces an XML forest (sequence) of elements using the given names and content. As for xmlelement, each name must be a simple identifier, while the content expressions can have any data type.","description_html":"The \u003ccode class=\"function\"\u003exmlforest\u003c/code\u003e expression produces an XML forest (sequence) of elements using the given names and content. As for \u003ccode class=\"function\"\u003exmlelement\u003c/code\u003e, each \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 expressions can have any data type.","description_zh":"表达式 xmlforest 使用给定名称和内容产生由元素构成的 XML 森林（序列）。与 xmlelement 一样，每个 name 都必须是一个简单的标识符，而 content 表达式可以有任何数据类型。","description_zh_html":"表达式 \u003ccode class=\"function\"\u003exmlforest\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 表达式可以有任何数据类型。","examples":[],"html":"\u003ccode class=\"function\"\u003exmlforest\u003c/code\u003e ( \u003cem class=\"replaceable\"\u003e\u003ccode\u003econtent\u003c/code\u003e\u003c/em\u003e [\u003cspan class=\"optional\"\u003e\u003ccode class=\"literal\"\u003eAS\u003c/code\u003e \u003cem class=\"replaceable\"\u003e\u003ccode\u003ename\u003c/code\u003e\u003c/em\u003e\u003c/span\u003e] [\u003cspan class=\"optional\"\u003e, ...\u003c/span\u003e] ) → \u003ccode class=\"returnvalue\"\u003exml\u003c/code\u003e","returns":"xml","text":"xmlforest ( content [AS name] [, ...] ) → xml","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","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":"1e6cbbb30dd4425cb7d7222338ee0c248dd23f1b398cffda876b2b26a125a75f","Text":"xmlforest ( content [AS name] [, ...] ) → xml","Returns":"xml","Payload":{"description":"The xmlforest expression produces an XML forest (sequence) of elements using the given names and content. As for xmlelement, each name must be a simple identifier, while the content expressions can have any data type.","description_html":"The \u003ccode class=\"function\"\u003exmlforest\u003c/code\u003e expression produces an XML forest (sequence) of elements using the given names and content. As for \u003ccode class=\"function\"\u003exmlelement\u003c/code\u003e, each \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 expressions can have any data type.","description_zh":"表达式 xmlforest 使用给定名称和内容产生由元素构成的 XML 森林（序列）。与 xmlelement 一样，每个 name 都必须是一个简单的标识符，而 content 表达式可以有任何数据类型。","description_zh_html":"表达式 \u003ccode class=\"function\"\u003exmlforest\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 表达式可以有任何数据类型。","examples":[],"html":"\u003ccode class=\"function\"\u003exmlforest\u003c/code\u003e ( \u003cem class=\"replaceable\"\u003e\u003ccode\u003econtent\u003c/code\u003e\u003c/em\u003e [\u003cspan class=\"optional\"\u003e\u003ccode class=\"literal\"\u003eAS\u003c/code\u003e \u003cem class=\"replaceable\"\u003e\u003ccode\u003ename\u003c/code\u003e\u003c/em\u003e\u003c/span\u003e] [\u003cspan class=\"optional\"\u003e, ...\u003c/span\u003e] ) → \u003ccode class=\"returnvalue\"\u003exml\u003c/code\u003e","returns":"xml","text":"xmlforest ( content [AS name] [, ...] ) → xml","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
