{"Entry":{"collection":"func","key":"table-to-xml-and-xmlschema","name":"table_to_xml_and_xmlschema","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":true,"doc_overhaul":false,"from":"8.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"8.4"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"54cfe066d081cfded7b7b696bd4655568d5380f88697964993f475f2bed22620","first_version":"8.3","group":"xml","group_label":"Xml Functions","groups":["xml"],"imported_at":"2026-09-27T17:57:28.784965+08:00","last_version":"20","name":"table_to_xml_and_xmlschema","name_key":"table_to_xml_and_xmlschema","position":15012,"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":"table_to_xml_and_xmlschema ( table regclass, nulls boolean, tableforest boolean, targetns text ) → xml","signature_count":1,"slug":"table-to-xml-and-xmlschema","source_rev":"b7bd9cda","summary":"In addition, the following functions are available to produce analogous mappings of entire schemas or the entire current database:","summary_zh":""}},"Definition":{"Collection":"func","Key":"table-to-xml-and-xmlschema","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"table-to-xml-and-xmlschema","SourceRevision":"b7bd9cda","Facts":{"description":"In addition, the following functions are available to produce analogous mappings of entire schemas or the entire current database:","description_html":"In addition, the following functions are available to produce analogous mappings of entire schemas or the entire current database:","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-XML-MAPPING","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":"In addition, the following functions are available to produce analogous mappings of entire schemas or the entire current database:","description_html":"In addition, the following functions are available to produce analogous mappings of entire schemas or the entire current database:","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003etable_to_xml_and_xmlschema\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003etable\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eregclass\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003enulls\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eboolean\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003etableforest\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eboolean\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003etargetns\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003exml\u003c/code\u003e","returns":"xml","text":"table_to_xml_and_xmlschema ( table regclass, nulls boolean, tableforest boolean, targetns text ) → xml","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-XML-MAPPING","file":"functions-xml.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"table-to-xml-and-xmlschema","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"table_to_xml_and_xmlschema","Summary":"下面的函数产生 XML 数据映射和对应的 XML 模式，并把产生的结果链接在一起放在一个文档（或森林）中。在要求自包含和自描述的结果时，它们非常有用：","BodyHTML":"下面的函数产生 XML 数据映射和对应的 XML 模式，并把产生的结果链接在一起放在一个文档（或森林）中。在要求自包含和自描述的结果时，它们非常有用：\u003cpre\u003etable_to_xml_and_xmlschema ( table regclass, nulls boolean, tableforest boolean, targetns text ) → xml\u003c/pre\u003e下面的函数产生 XML 数据映射和对应的 XML 模式，并把产生的结果链接在一起放在一个文档（或森林）中。在要求自包含和自描述的结果时，它们非常有用：","SourceRevision":"ca936764","ContentHash":"aff24a88b11da8ad77c19066700276dee7b393d151169943212b945e052bb898","Payload":{"description_zh":"下面的函数产生 XML 数据映射和对应的 XML 模式，并把产生的结果链接在一起放在一个文档（或森林）中。在要求自包含和自描述的结果时，它们非常有用：","description_zh_html":"下面的函数产生 XML 数据映射和对应的 XML 模式，并把产生的结果链接在一起放在一个文档（或森林）中。在要求自包含和自描述的结果时，它们非常有用：","signatures":[{"description_zh":"下面的函数产生 XML 数据映射和对应的 XML 模式，并把产生的结果链接在一起放在一个文档（或森林）中。在要求自包含和自描述的结果时，它们非常有用：","description_zh_html":"下面的函数产生 XML 数据映射和对应的 XML 模式，并把产生的结果链接在一起放在一个文档（或森林）中。在要求自包含和自描述的结果时，它们非常有用：","returns":"xml","text":"table_to_xml_and_xmlschema ( table regclass, nulls boolean, tableforest boolean, targetns text ) → 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":"64629bc76a1d85023a0b2957b5727921ad5bc088020a32576e355ae07f33cbcc","Text":"table_to_xml_and_xmlschema ( table regclass, nulls boolean, tableforest boolean, targetns text ) → xml","Returns":"xml","Payload":{"description":"In addition, the following functions are available to produce analogous mappings of entire schemas or the entire current database:","description_html":"In addition, the following functions are available to produce analogous mappings of entire schemas or the entire current database:","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003etable_to_xml_and_xmlschema\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003etable\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eregclass\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003enulls\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eboolean\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003etableforest\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eboolean\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003etargetns\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003exml\u003c/code\u003e","returns":"xml","text":"table_to_xml_and_xmlschema ( table regclass, nulls boolean, tableforest boolean, targetns text ) → xml","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
