{"Entry":{"collection":"func","key":"xpath-exists","name":"xpath_exists","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.0","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.1"},{"descriptions_changed":true,"doc_overhaul":false,"from":"9.6","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"10"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"9dd33e8da78891f41fed9f0eb2a55dfdc955b6274fa5387974de4371ff042696","first_version":"9.1","group":"xml","group_label":"Xml Functions","groups":["xml"],"imported_at":"2026-09-14T21:49:48.777561+08:00","last_version":"20","name":"xpath_exists","name_key":"xpath_exists","position":15028,"present_in":["9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"signature":"xpath_exists ( xpath text, xml xml [, nsarray text[]] ) → boolean","signature_count":1,"slug":"xpath-exists","source_rev":"2026-09-14T13:14:25.684213+00:00@99e6866c","summary":"The function xpath_exists is a specialized form of the xpath function.","summary_zh":""}},"Definition":{"Collection":"func","Key":"xpath-exists","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"xpath-exists","SourceRevision":"2026-09-14T13:14:25.684213+00:00@99e6866c","Facts":{"description":"The function xpath_exists is a specialized form of the xpath function. Instead of returning the individual XML values that satisfy the XPath 1.0 expression, this function returns a Boolean indicating whether the query was satisfied or not (specifically, whether it produced any value other than an empty node-set). This function is equivalent to the XMLEXISTS predicate, except that it also offers support for a namespace mapping argument.","description_html":"The function \u003ccode class=\"function\"\u003expath_exists\u003c/code\u003e is a specialized form of the \u003ccode class=\"function\"\u003expath\u003c/code\u003e function. Instead of returning the individual XML values that satisfy the XPath 1.0 expression, this function returns a Boolean indicating whether the query was satisfied or not (specifically, whether it produced any value other than an empty node-set). This function is equivalent to the \u003ccode class=\"literal\"\u003eXMLEXISTS\u003c/code\u003e predicate, except that it also offers support for a namespace mapping argument.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-XML-PROCESSING-XPATH-EXISTS","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 xpath_exists is a specialized form of the xpath function. Instead of returning the individual XML values that satisfy the XPath 1.0 expression, this function returns a Boolean indicating whether the query was satisfied or not (specifically, whether it produced any value other than an empty node-set). This function is equivalent to the XMLEXISTS predicate, except that it also offers support for a namespace mapping argument.","description_html":"The function \u003ccode class=\"function\"\u003expath_exists\u003c/code\u003e is a specialized form of the \u003ccode class=\"function\"\u003expath\u003c/code\u003e function. Instead of returning the individual XML values that satisfy the XPath 1.0 expression, this function returns a Boolean indicating whether the query was satisfied or not (specifically, whether it produced any value other than an empty node-set). This function is equivalent to the \u003ccode class=\"literal\"\u003eXMLEXISTS\u003c/code\u003e predicate, except that it also offers support for a namespace mapping argument.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003expath_exists\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003expath\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003exml\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003exml\u003c/code\u003e [\u003cspan class=\"optional\"\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003ensarray\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext[]\u003c/code\u003e\u003c/span\u003e] ) → \u003ccode class=\"returnvalue\"\u003eboolean\u003c/code\u003e","returns":"boolean","text":"xpath_exists ( xpath text, xml xml [, nsarray text[]] ) → boolean","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-XML-PROCESSING-XPATH-EXISTS","file":"functions-xml.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"xpath-exists","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"xpath_exists","Summary":"函数xpath_exists是xpath函数的一种特殊形式。这个函数不是返回满足 XPath 1.0 表达式的各个 XML 值，它返回一个布尔值表示查询是否被满足（具体来说，它是否产生了空节点集以外的任何值）。这个函数等价于标准的XMLEXISTS谓词，不过它还提供了对一个名字空间映射参数的支持。","BodyHTML":"函数\u003ccode\u003expath_exists\u003c/code\u003e是\u003ccode\u003expath\u003c/code\u003e函数的一种特殊形式。这个函数不是返回满足 XPath 1.0 表达式的各个 XML 值，它返回一个布尔值表示查询是否被满足（具体来说，它是否产生了空节点集以外的任何值）。这个函数等价于标准的\u003ccode\u003eXMLEXISTS\u003c/code\u003e谓词，不过它还提供了对一个名字空间映射参数的支持。\u003cpre\u003expath_exists ( xpath text, xml xml [, nsarray text[]] ) → boolean\u003c/pre\u003e函数\u003ccode\u003expath_exists\u003c/code\u003e是\u003ccode\u003expath\u003c/code\u003e函数的一种特殊形式。这个函数不是返回满足 XPath 1.0 表达式的各个 XML 值，它返回一个布尔值表示查询是否被满足（具体来说，它是否产生了空节点集以外的任何值）。这个函数等价于标准的\u003ccode\u003eXMLEXISTS\u003c/code\u003e谓词，不过它还提供了对一个名字空间映射参数的支持。","SourceRevision":"ca936764","ContentHash":"01235b7b9dfeebf5d49e2a5d74b3674c3c67365a04aaf9efd64760dc97d4ff49","Payload":{"description_zh":"函数xpath_exists是xpath函数的一种特殊形式。这个函数不是返回满足 XPath 1.0 表达式的各个 XML 值，它返回一个布尔值表示查询是否被满足（具体来说，它是否产生了空节点集以外的任何值）。这个函数等价于标准的XMLEXISTS谓词，不过它还提供了对一个名字空间映射参数的支持。","description_zh_html":"函数\u003ccode class=\"function\"\u003expath_exists\u003c/code\u003e是\u003ccode class=\"function\"\u003expath\u003c/code\u003e函数的一种特殊形式。这个函数不是返回满足 XPath 1.0 表达式的各个 XML 值，它返回一个布尔值表示查询是否被满足（具体来说，它是否产生了空节点集以外的任何值）。这个函数等价于标准的\u003ccode class=\"literal\"\u003eXMLEXISTS\u003c/code\u003e谓词，不过它还提供了对一个名字空间映射参数的支持。","signatures":[{"description_zh":"函数xpath_exists是xpath函数的一种特殊形式。这个函数不是返回满足 XPath 1.0 表达式的各个 XML 值，它返回一个布尔值表示查询是否被满足（具体来说，它是否产生了空节点集以外的任何值）。这个函数等价于标准的XMLEXISTS谓词，不过它还提供了对一个名字空间映射参数的支持。","description_zh_html":"函数\u003ccode class=\"function\"\u003expath_exists\u003c/code\u003e是\u003ccode class=\"function\"\u003expath\u003c/code\u003e函数的一种特殊形式。这个函数不是返回满足 XPath 1.0 表达式的各个 XML 值，它返回一个布尔值表示查询是否被满足（具体来说，它是否产生了空节点集以外的任何值）。这个函数等价于标准的\u003ccode class=\"literal\"\u003eXMLEXISTS\u003c/code\u003e谓词，不过它还提供了对一个名字空间映射参数的支持。","returns":"boolean","text":"xpath_exists ( xpath text, xml xml [, nsarray text[]] ) → boolean","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"6f59ecb3bf426eab6b880ffd591e6a9899205f478667aab5ad8b3e2806412223","Text":"xpath_exists ( xpath text, xml xml [, nsarray text[]] ) → boolean","Returns":"boolean","Payload":{"description":"The function xpath_exists is a specialized form of the xpath function. Instead of returning the individual XML values that satisfy the XPath 1.0 expression, this function returns a Boolean indicating whether the query was satisfied or not (specifically, whether it produced any value other than an empty node-set). This function is equivalent to the XMLEXISTS predicate, except that it also offers support for a namespace mapping argument.","description_html":"The function \u003ccode class=\"function\"\u003expath_exists\u003c/code\u003e is a specialized form of the \u003ccode class=\"function\"\u003expath\u003c/code\u003e function. Instead of returning the individual XML values that satisfy the XPath 1.0 expression, this function returns a Boolean indicating whether the query was satisfied or not (specifically, whether it produced any value other than an empty node-set). This function is equivalent to the \u003ccode class=\"literal\"\u003eXMLEXISTS\u003c/code\u003e predicate, except that it also offers support for a namespace mapping argument.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003expath_exists\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003expath\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003exml\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003exml\u003c/code\u003e [\u003cspan class=\"optional\"\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003ensarray\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext[]\u003c/code\u003e\u003c/span\u003e] ) → \u003ccode class=\"returnvalue\"\u003eboolean\u003c/code\u003e","returns":"boolean","text":"xpath_exists ( xpath text, xml xml [, nsarray text[]] ) → boolean","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
