diff --git a/steps/src/main/xml/steps/replace.xml b/steps/src/main/xml/steps/replace.xml
index b72f789..1906923 100644
--- a/steps/src/main/xml/steps/replace.xml
+++ b/steps/src/main/xml/steps/replace.xml
@@ -5,9 +5,9 @@
xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="c.replace">
p:replace
-The p:replace
step replaces matching nodes in
-its primary input with the top-level node(s) of the
-replacement
port's document.
+The p:replace
step replaces matching nodes in its primary
+input with the content of the document that appears on the
+replacement port.
@@ -23,12 +23,13 @@ an attribute or a namespace nodes. Multiple matches are allowed, in whi
copies of the replacement document will occur.
Every node in the primary input matching the specified
-pattern is replaced in the output by the top-level node(s)
+pattern is replaced in the output by the content
of the replacement document. Only non-nested matches are
replaced. That is, once a node is replaced, its descendants cannot
be matched.
-If the document node is matched, the result is a text document.
+If the document node is matched, and the replacement document is a text document,
+the result is a text document.
Document properties