diff --git a/src/guide/xml/ch04.xml b/src/guide/xml/ch04.xml index 7069717fd..e8b989bae 100644 --- a/src/guide/xml/ch04.xml +++ b/src/guide/xml/ch04.xml @@ -595,15 +595,15 @@ Oxygen change markup processing instructions. -A customization can introduce transformations to the original -document: before the standard transformations by specifying them in -transform-original; after the standard transformations -but before the transformation to HTML by specifying them in -transform-before; or after the HTML transformation -by specifying them in transform-after. (If you need -to insert a transformation in the middle of the standard transformations, -you’ll have to update the v:standard-transforms -variable.) +A customization can introduce transformations to the original document: before the standard + transformations by specifying them in transform-original; after the + standard transformations but before the transformation to HTML by specifying them in + transform-before; or after the HTML transformation by specifying them + in transform-after. (If you need to insert a transformation in the + middle of the standard transformations, you’ll have to update the + v:standard-transforms variable.) If you want to see the normalized and + augmented DocBook content just before the conversion to HTML starts, you can use the + intermediate-docbook-uri parameter. Transformations in transform-after will be processing diff --git a/src/guide/xml/ref-params.xml b/src/guide/xml/ref-params.xml index 804d4fea4..281e7cefe 100644 --- a/src/guide/xml/ref-params.xml +++ b/src/guide/xml/ref-params.xml @@ -2173,6 +2173,38 @@ of the entries for each section. This results in a more complete index while still preserving the ability to see in which sections the terms occur. + + + + + xs:string + intermediate-docbook-uri + '' + + + + URI for intermediate DocBook content + + + Description + If the parameter is not empty, a file with the content of the input document to which + the following transformations have been applied is written to the specified location: + + + transformations from transform-original, if any; + + + standard transformations (see v:standard-transforms); + + + transformations from transform-before, if any. + + + It is the normalized and augmented DocBook content immediatly before transformations + into HTML begins. If the URI is relative, it will be resolved against the base-input + documents base-uri(/). + + diff --git a/src/main/xslt/docbook.xsl b/src/main/xslt/docbook.xsl index 44df98dd7..fa6b2e62a 100644 --- a/src/main/xslt/docbook.xsl +++ b/src/main/xslt/docbook.xsl @@ -2,6 +2,7 @@ - + + + + + + + + + + + + + + + + + + + + +