diff --git a/src/guide/xml/ref-params.xml b/src/guide/xml/ref-params.xml
index 804d4fea4..a2d6815f1 100644
--- a/src/guide/xml/ref-params.xml
+++ b/src/guide/xml/ref-params.xml
@@ -1132,6 +1132,17 @@ each image.
+intermediate-results
+
+
+Output the resolved names of intermediate result documents
+(transformed-docbook-input
+and transformed-docbook-output) if they are used.
+
+
+
+
+
intra-chunk-links
@@ -5507,5 +5518,85 @@ in the online stylesheets (but might in the future).
+
+
+
+ xs:string?
+ transformed-docbook-input
+ ()
+
+
+
+ URI for transformed DocBook input
+
+
+ Description
+ Broadly speaking, the DocBook transformation process has
+ three phases:
+
+
+ The DocBook input supplied by the user is run through a
+ series of transformations to produce a document that is ready
+ to be transformed to HTML. (See .)
+
+
+ That document is transformed into “HTML”. It’s not really HTML (yet)
+ because some aspects (footnotes, chunking, etc.) are not yet resolved.
+ (See transformed-docbook-output.)
+
+
+
+ The “HTML” from the previous step is transformed to produce one
+ (or more) HTML results.
+
+
+
+ If the transformed-docbook-input parameter is not the empty
+ sequence, it is assumed to be a URI. It will be made absolute against the base URI of the
+ input document.
+ The transformed DocBook that results from step 1 above will be
+ output to that location.
+
+
+
+
+
+
+ xs:string?
+ transformed-docbook-output
+ ()
+
+
+
+ URI for transformed DocBook output
+
+
+ Description
+ Broadly speaking, the DocBook transformation process has
+ three phases:
+
+
+ The DocBook input supplied by the user is run through a
+ series of transformations to produce a document that is ready
+ to be transformed to HTML. (See transformed-docbook-input.)
+
+
+ That document is transformed into “HTML”. It’s not really HTML (yet)
+ because some aspects (footnotes, chunking, etc.) are not yet resolved.
+
+
+
+ The “HTML” from the previous step is transformed to produce one
+ (or more) HTML results.
+
+
+
+ If the transformed-docbook-output
+ parameter is not the empty sequence, it is assumed to be a URI. It
+ will be made absolute against the base URI of the input document.
+ The transformed “HTML” that results from step 2 above will be
+ output to that location.
+
+
diff --git a/src/main/xslt/docbook.xsl b/src/main/xslt/docbook.xsl
index d06c5bd0f..82f9d7341 100644
--- a/src/main/xslt/docbook.xsl
+++ b/src/main/xslt/docbook.xsl
@@ -2,6 +2,7 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+