diff --git a/basis/xml/syntax/syntax-docs.factor b/basis/xml/syntax/syntax-docs.factor
index 19f059078b..34473fecfc 100644
--- a/basis/xml/syntax/syntax-docs.factor
+++ b/basis/xml/syntax/syntax-docs.factor
@@ -84,7 +84,17 @@ $nl
word=<-word-> />
XML> pprint-xml ] "}
{"
-"} } ;
+"} }
+"XML interpolation can also be used, in conjunction with " { $vocab-link "inverse" } " in pattern matching. For example:"
+{ $example {" USING: sequences xml.syntax inverse ;
+: dispatch ( xml -- string )
+ {
+ { [ [XML <-> XML] ] [ "a" prepend ] }
+ { [ [XML <-> XML] ] [ "b" prepend ] }
+ { [ [XML XML] ] [ "yes" ] }
+ { [ [XML /> XML] ] [ "no" prepend ] }
+ } switch ;
+[XML pple XML] dispatch write "} "apple" } ;
HELP: XML-NS:
{ $syntax "XML-NS: name http://url" }