diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index a11f3abc822..5abb1c46fbb 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -10399,6 +10399,24 @@ SELECT xmlagg(x) FROM (SELECT * FROM test ORDER BY y DESC) AS tab;
+
+ IS NOT DOCUMENT
+
+
+ IS NOT DOCUMENT
+
+
+
+xml IS NOT DOCUMENT
+
+
+
+ The expression IS NOT DOCUMENT returns false if the
+ argument XML value is a proper XML document, true if it is not (that is,
+ it is a content fragment), or null if the argument is null.
+
+
+
XMLEXISTS