improvement of the man page by Daniel Leidert, c.f. #331779 Daniel
authorDaniel Veillard <veillard@src.gnome.org>
Sun, 19 Feb 2006 21:42:25 +0000 (21:42 +0000)
committerDaniel Veillard <veillard@src.gnome.org>
Sun, 19 Feb 2006 21:42:25 +0000 (21:42 +0000)
* doc/xsltproc.1 doc/xsltproc.xml: improvement of the man page
  by Daniel Leidert, c.f. #331779
Daniel

ChangeLog
doc/xsltproc.1
doc/xsltproc.xml

index 97e342f..ae0bd26 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Feb 19 22:40:58 CET 2006 Daniel Veillard <daniel@veillard.com>
+
+       * doc/xsltproc.1 doc/xsltproc.xml: improvement of the man page
+         by Daniel Leidert, c.f. #331779
+
 Sat Feb 11 13:10:01 CET 2006 Daniel Veillard <daniel@veillard.com>
 
        * libxslt/xsltutils.c: fix xsltSaveResultToString comment
index 7830802..7503050 100644 (file)
@@ -24,25 +24,28 @@ xsltproc \- command line xslt processor
 .ad l
 .hy 0
 .HP 9
-\fBxsltproc\fR [\fB\-V\fR | \fB\-v\fR | \fB\-o\ \fIfile\fR\fR | \fB\-\-timing\fR | \fB\-\-repeat\fR | \fB\-\-debug\fR | \fB\-\-novalid\fR | \fB\-\-noout\fR | \fB\-\-maxdepth\ \fIval\fR\fR | \fB\-\-html\fR | \fB\-\-param\ \fIname\fR\ \fIvalue\fR\fR | \fB\-\-stringparam\ \fIname\fR\ \fIvalue\fR\fR | \fB\-\-nonet\fR | \fB\-\-path\ \fIpaths\fR\fR | \fB\-\-load\-trace\fR | \fB\-\-catalogs\fR | \fB\-\-xinclude\fR | \fB\-\-profile\fR | \fB\-\-dumpextensions\fR | \fB\-\-nowrite\fR | \fB\-\-nomkdir\fR | \fB\-\-writesubtree\fR | \fB\-\-nodtdattr\fR] [\fB\fIstylesheet\fR\fR] [\fIfile1\fR] [\fIfile2\fR] [\fI\&.\&.\&.\&.\fR]
+\fBxsltproc\fR [[\fB\fB\-V\fR\fR | \fB\fB\-\-version\fR\fR] [\fB\fB\-v\fR\fR | \fB\fB\-\-verbose\fR\fR] | \fB{\fB\fB\-o\fR\fR\ |\ \fB\fB\-\-output\fR\fR}\ \fIFILE\fR\fR | \fB\fB\-\-timing\fR\fR | \fB\fB\-\-repeat\fR\fR | \fB\fB\-\-debug\fR\fR | \fB\fB\-\-novalid\fR\fR | \fB\fB\-\-noout\fR\fR | \fB\fB\-\-maxdepth\ \fIVALUE\fR\fR\fR | \fB\fB\-\-html\fR\fR | \fB\fB\-\-param\ \fIPARAMNAME\fR\ \fIPARAMVALUE\fR\ \fR\fR | \fB\fB\-\-stringparam\ \fIPARAMNAME\fR\ \fIPARAMVALUE\fR\ \fR\fR | \fB\fB\-\-nonet\fR\fR | \fB\fB\-\-path\ "\fIPATHS\fR"\fR\fR | \fB\fB\-\-load\-trace\fR\fR | \fB\fB\-\-catalogs\fR\fR | \fB\fB\-\-xinclude\fR\fR [\fB\fB\-\-profile\fR\fR | \fB\fB\-\-norman\fR\fR] | \fB\fB\-\-dumpextensions\fR\fR | \fB\fB\-\-nowrite\fR\fR | \fB\fB\-\-nomkdir\fR\fR | \fB\fB\-\-writesubtree\ \fIPATH\fR\fR\fR | \fB\fB\-\-nodtdattr\fR\fR] [\fISTYLESHEET\fR] {\fIFILE\fR...}
 .ad
 .hy
 
-.SH "INTRODUCTION"
+.SH "DESCRIPTION"
 
 .PP
- xsltproc is a command line tool for applying XSLT stylesheets to XML documents\&. It is part of libxslt, the XSLT C library for GNOME\&. While it was developed as part of the GNOME project, it can operate independently of the GNOME desktop\&.
+\fBxsltproc\fR is a command line tool for applying XSLT stylesheets to XML documents\&. It is part of libxslt, the XSLT C library for GNOME\&. While it was developed as part of the GNOME project, it can operate independently of the GNOME desktop\&.
 
 .PP
- xsltproc is invoked from the command line with the name of the stylesheet to be used followed by the name of the file or files to which the stylesheet is to be applied\&. It will use the standard input if a filename provided is \- \&.
+\fBxsltproc\fR is invoked from the command line with the name of the stylesheet to be used followed by the name of the file or files to which the stylesheet is to be applied\&. It will use the standard input if a filename provided is \- \&.
 
 .PP
-If a stylesheet is included in an XML document with a Stylesheet Processing Instruction, no stylesheet need be named at the command line\&. xsltproc will automatically detect the included stylesheet and use it\&.
+If a stylesheet is included in an XML document with a Stylesheet Processing Instruction, no stylesheet need be named at the command line\&. \fBxsltproc\fR will automatically detect the included stylesheet and use it\&.
 
 .PP
 By default, output is to stdout\&. You can specify a file for output using the \fB\-o\fR option\&.
 
-.SH "COMMAND LINE OPTIONS"
+.SH "OPTIONS"
+
+.PP
+\fBxsltproc\fR currently accepts the following options:
 
 .TP
 \fB\-V\fR or \fB\-\-version\fR
@@ -50,11 +53,11 @@ Show the version of libxml and libxslt used\&.
 
 .TP
 \fB\-v\fR or \fB\-\-verbose\fR
-Output each step taken by xsltproc in processing the stylesheet and the document\&.
+Output each step taken by \fBxsltproc\fR in processing the stylesheet and the document\&.
 
 .TP
-\fB\-o\fR or \fB\-\-output\fR \fIfile\fR
-Direct output to the file named \fIfile\fR\&. For multiple outputs, also known as "chunking", \fB\-o\fR  \fBdirectory/\fR directs the output files to a specified directory\&. The directory must already exist\&.
+\fB\-o\fR or \fB\-\-output\fR \fIFILE\fR
+Direct output to the file named \fIFILE\fR\&. For multiple outputs, also known as "chunking", \fB\-o \fIDIRECTORY/\fR\fR directs the output files to a specified directory\&. The directory must already exist\&.
 
 .TP
 \fB\-\-timing\fR
@@ -77,7 +80,7 @@ Skip loading the document's DTD\&.
 Do not output the result\&.
 
 .TP
-\fB\-\-maxdepth\fR \fIvalue\fR
+\fB\-\-maxdepth \fIVALUE\fR\fR
 Adjust the maximum depth of the template stack before libxslt concludes it is in an infinite loop\&. The default is 500\&.
 
 .TP
@@ -85,19 +88,19 @@ Adjust the maximum depth of the template stack before libxslt concludes it is in
 The input document is an HTML file\&.
 
 .TP
-\fB\-\-param\fR \fIname\fR \fIvalue\fR
-Pass a parameter of name \fIname\fR and value \fIvalue\fR to the stylesheet\&. You may pass multiple name/value pairs up to a maximum of 32\&. If the value being passed is a string rather than a node identifier, use \fB\-\-stringparam\fR instead\&.
+\fB\-\-param \fIPARAMNAME\fR \fIPARAMVALUE\fR\fR
+Pass a parameter of name \fIPARAMNAME\fR and value \fIPARAMVALUE\fR to the stylesheet\&. You may pass multiple name/value pairs up to a maximum of 32\&. If the value being passed is a string rather than a node identifier, use \fB\-\-stringparam\fR instead\&.
 
 .TP
-\fB\-\-stringparam\fR \fIname\fR \fIvalue\fR
-Pass a paramenter of name \fIname\fR and value \fIvalue\fR where \fIvalue\fR is a string rather than a node identifier\&. (Note: The string must be utf\-8\&.)
+\fB\-\-stringparam \fIPARAMNAME\fR \fIPARAMVALUE\fR\fR
+Pass a paramenter of name \fIPARAMNAME\fR and value \fIPARAMVALUE\fR where \fIPARAMVALUE\fR is a string rather than a node identifier\&. (Note: The string must be utf\-8\&.)
 
 .TP
 \fB\-\-nonet\fR
-Do not use the Internet to fetch DTD's, entities or documents\&.
+Do not use the Internet to fetch DTDs, entities or documents\&.
 
 .TP
-\fB\-\-path\fR \fIpaths\fR
+\fB\-\-path "\fIPATHS\fR"\fR
 Use the list (separated by space or colon) of filesystem paths specified by \fIpaths\fR to load DTDs, entities or documents\&.
 
 .TP
@@ -106,11 +109,11 @@ Display to stderr all the documents loaded during the processing\&.
 
 .TP
 \fB\-\-catalogs\fR
-Use the SGML catalog specified in \fBSGML_CATALOG_FILES\fR to resolve the location of external entities\&. By default, xsltproc looks for the catalog specified in \fBXML_CATALOG_FILES\fR\&. If that is not specified, it uses \fI/etc/xml/catalog\fR\&.
+Use the SGML catalog specified in \fBSGML_CATALOG_FILES\fR to resolve the location of external entities\&. By default, \fBxsltproc\fR looks for the catalog specified in \fBXML_CATALOG_FILES\fR\&. If that is not specified, it uses \fI/etc/xml/catalog\fR\&.
 
 .TP
 \fB\-\-xinclude\fR
-Process the input document using the Xinclude specification\&. More details on this can be found in the Xinclude specification: http://www\&.w3\&.org/TR/xinclude/: \fIhttp://www.w3.org/TR/xinclude/\fR 
+Process the input document using the Xinclude specification\&. More details on this can be found in the Xinclude specification: \fIhttp://www.w3.org/TR/xinclude/\fR 
 
 .TP
 \fB\-\-profile\fR or \fB\-\-norman\fR
@@ -129,58 +132,76 @@ Refuses to write to any file or resource\&.
 Refuses to create directories\&.
 
 .TP
-\fB\-\-writesubtree\fR \fIpath\fR
-Allow file write only within the \fIpath\fR subtree\&.
+\fB\-\-writesubtree \fIPATH\fR\fR
+Allow file write only within the \fIPATH\fR subtree\&.
 
 .TP
 \fB\-\-nodtdattr\fR
 Do not apply default attributes from the document's DTD\&.
 
-.SH "RETURN VALUES"
+.SH "ENVIRONMENT"
 
-.PP
-xsltproc's return codes provide information that can be used when calling it from scripts\&.
+.TP
+\fBSGML_CATALOG_FILES\fR
+\&.\&.\&.
 
-.PP
-0: normal
+.TP
+\fBXML_CATALOG_FILES\fR
+\&.\&.\&.
 
-.PP
-1: no argument
+.SH "DIAGNOSTICS"
 
 .PP
-2: too many parameters
+\fBxsltproc\fR's return codes provide information that can be used when calling it from scripts\&.
 
-.PP
-3: unknown option
+.TP
+\fB0\fR
+normal
 
-.PP
-4: failed to parse the stylesheet
+.TP
+\fB1\fR
+no argument
 
-.PP
-5: error in the stylesheet
+.TP
+\fB2\fR
+too many parameters
 
-.PP
-6: error in one of the documents
+.TP
+\fB3\fR
+unknown option
 
-.PP
-7: unsupported xsl:output method
+.TP
+\fB4\fR
+failed to parse the stylesheet
 
-.PP
-8: string parameter contains both quote and double\-quotes
+.TP
+\fB5\fR
+error in the stylesheet
 
-.PP
-9: internal processing error
+.TP
+\fB6\fR
+error in one of the documents
 
-.PP
-10: processing was stopped by a terminating message
+.TP
+\fB7\fR
+unsupported xsl:output method
 
-.SH "MORE INFORMATION"
+.TP
+\fB8\fR
+string parameter contains both quote and double\-quotes
 
-.PP
-libxml web page:http://www\&.xmlsoft\&.org/: \fIhttp://www.xmlsoft.org/\fR
+.TP
+\fB9\fR
+internal processing error
+
+.TP
+\fB10\fR
+processing was stopped by a terminating message
+
+.SH "SEE ALSO"
 
 .PP
-W3C XSLT page:http://www\&.w3\&.org/TR/xslt: \fIhttp://www.w3.org/TR/xslt\fR
+More information can be found at the libxml web pages at \fIhttp://www.xmlsoft.org/\fR and the W3C XSLT pages at \fIhttp://www.w3.org/TR/xslt\fR\&.
 
 .SH AUTHOR
 John Fleck.
index 3102ac2..b5b5fe1 100644 (file)
@@ -3,6 +3,8 @@
    href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"?>
 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
     "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+    
+    <!ENTITY xsltproc "<command>xsltproc</command>">
 ]>
 
 <refentry>
   <refsynopsisdiv>
     <cmdsynopsis>
       <command>xsltproc</command>
-      <group>
-       <arg>-V</arg>
-       <arg>-v</arg>
-       <arg>-o <replaceable>file</replaceable></arg>
-       <arg>--timing</arg>
-       <arg>--repeat</arg>
-       <arg>--debug</arg>
-       <arg>--novalid</arg>
-       <arg>--noout</arg>
-       <arg>--maxdepth <replaceable>val</replaceable></arg>
-       <arg>--html</arg>
-       <arg>--param <replaceable>name</replaceable> <replaceable>value</replaceable></arg>
-       <arg>--stringparam <replaceable>name</replaceable> <replaceable>value</replaceable></arg>
-       <arg>--nonet</arg>
-       <arg>--path <replaceable>paths</replaceable></arg>
-       <arg>--load-trace</arg>
-       <arg>--catalogs</arg>
-       <arg>--xinclude</arg>
-       <arg>--profile</arg>
-       <arg>--dumpextensions</arg>
-       <arg>--nowrite</arg>
-       <arg>--nomkdir</arg>
-       <arg>--writesubtree</arg>
-       <arg>--nodtdattr</arg>
+      <group choice='opt'>
+        <group choice='opt'>
+          <arg choice='plain'><option>-V</option></arg>
+          <arg choice='plain'><option>--version</option></arg>
+        </group>
+        <group choice='opt'>
+          <arg choice='plain'><option>-v</option></arg>
+          <arg choice='plain'><option>--verbose</option></arg>
+        </group>
+        <arg choice="opt">
+          <group choice='req'>
+            <arg choice='plain'><option>-o</option></arg>
+            <arg choice='plain'><option>--output</option></arg>
+          </group>
+          <replaceable class="option">FILE</replaceable>
+        </arg>
+        <arg choice='plain'><option>--timing</option></arg>
+        <arg choice='plain'><option>--repeat</option></arg>
+        <arg choice='plain'><option>--debug</option></arg>
+        <arg choice='plain'><option>--novalid</option></arg>
+        <arg choice='plain'><option>--noout</option></arg>
+        <arg choice='plain'><option>--maxdepth <replaceable class="option">VALUE</replaceable></option></arg>
+        <arg choice='plain'><option>--html</option></arg>
+        <arg choice='plain'><option>--param
+         <replaceable class="option">PARAMNAME</replaceable>
+         <replaceable class="option">PARAMVALUE</replaceable>
+        </option></arg>
+        <arg choice='plain'><option>--stringparam
+         <replaceable class="option">PARAMNAME</replaceable>
+         <replaceable class="option">PARAMVALUE</replaceable>
+        </option></arg>
+        <arg choice='plain'><option>--nonet</option></arg>
+        <arg choice='plain'><option>--path "<replaceable class="option">PATHS</replaceable>"</option></arg>
+        <arg choice='plain'><option>--load-trace</option></arg>
+        <arg choice='plain'><option>--catalogs</option></arg>
+        <arg choice='plain'><option>--xinclude</option></arg>
+        <group choice='opt'>
+          <arg choice='plain'><option>--profile</option></arg>
+          <arg choice='plain'><option>--norman</option></arg>
+        </group>
+        <arg choice='plain'><option>--dumpextensions</option></arg>
+        <arg choice='plain'><option>--nowrite</option></arg>
+        <arg choice='plain'><option>--nomkdir</option></arg>
+        <arg choice='plain'><option>--writesubtree <replaceable>PATH</replaceable></option></arg>
+        <arg choice='plain'><option>--nodtdattr</option></arg>
       </group>
-      <arg><option><replaceable>stylesheet</replaceable></option></arg>
-      <arg><replaceable>file1</replaceable></arg>
-      <arg><replaceable>file2</replaceable></arg>
-      <arg><replaceable>....</replaceable></arg>
+      <arg choice="opt"><replaceable>STYLESHEET</replaceable></arg>
+      <arg choice="req" rep="repeat"><replaceable>FILE</replaceable></arg>
     </cmdsynopsis>
   </refsynopsisdiv>
 
 
   <refsect1 id="introduction">
-    <title>Introduction</title>
-    <para>
-      <application>xsltproc</application> is a command line tool for applying
-      <acronym>XSLT</acronym> stylesheets to <acronym>XML</acronym>
+    <title>DESCRIPTION</title>
+    <para>&xsltproc; is a command line tool for applying <acronym>XSLT</acronym>
+      stylesheets to <acronym>XML</acronym>
       documents. It is part of <application>libxslt</application>, the XSLT C
       library for GNOME. While it was developed as part of the GNOME project, it
       can operate independently of the GNOME desktop.
    </para>
 
-    <para>
-      <application>xsltproc</application> is invoked from the command line with
+    <para>&xsltproc; is invoked from the command line with
       the name of the stylesheet to be used followed by the name of the file or
       files to which the stylesheet is to be applied. It will use the standard
       input if a filename provided is - .
     <para>
       If a stylesheet is included in an <acronym>XML</acronym> document with a
       Stylesheet Processing Instruction, no stylesheet need be named at the
-      command line. <application>xsltproc</application> will automatically
+      command line. &xsltproc; will automatically
       detect the included stylesheet and use it.
     </para>
 
   </refsect1>
 
   <refsect1 id="options">
-    <title>Command Line Options</title>
-    
+    <title>OPTIONS</title>
+    <para>&xsltproc; currently accepts the following options:</para>
     <variablelist>
       <varlistentry>
        <term><option>-V</option> or <option>--version</option></term>
        <listitem>
-         <simpara>Show the version of
-      <application>libxml</application> and <application>libxslt</application> used.
-    </simpara>
+         <simpara>Show the version of <application>libxml</application>
+           and <application>libxslt</application> used.</simpara>
        </listitem>
       </varlistentry>
 
        <term>
       <option>-v</option> or <option>--verbose</option></term>
        <listitem>
-         <simpara>Output each step taken
-      by <application>xsltproc</application> in processing the stylesheet and the document.
-    </simpara>
+         <simpara>Output each step taken by &xsltproc; in processing the
+           stylesheet and the document.</simpara>
        </listitem>
       </varlistentry>
 
     
       <varlistentry>
        <term>
-      <option>-o</option> or <option>--output</option> <replaceable>file</replaceable></term>
+      <option>-o</option> or <option>--output</option> <replaceable>FILE</replaceable></term>
        <listitem>
          <simpara>Direct output to the file named
-      <replaceable>file</replaceable>. For multiple outputs, also known as
-      "chunking", <option>-o</option> <option>directory/</option> directs the
-      output files to a specified directory. The directory must already exist.
-    </simpara>
+      <replaceable>FILE</replaceable>. For multiple outputs, also known as
+      "chunking", <option>-o <replaceable>DIRECTORY/</replaceable></option>
+      directs the output files to a specified directory. The directory must
+      already exist.</simpara>
        </listitem>
       </varlistentry>
 
        <term>
       <option>--novalid</option></term>
        <listitem>
-         <simpara>Skip loading the document's <acronym>DTD</acronym>.
-    </simpara>
+         <simpara>Skip loading the document's <acronym>DTD</acronym>.</simpara>
        </listitem>
       </varlistentry>
 
        <term>
       <option>--noout</option></term>
        <listitem>
-         <simpara>Do not output the result.
-    </simpara>
+         <simpara>Do not output the result.</simpara>
        </listitem>
       </varlistentry>
 
     
       <varlistentry>
        <term>
-      <option>--maxdepth</option> <replaceable>value</replaceable></term>
+      <option>--maxdepth <replaceable>VALUE</replaceable></option></term>
        <listitem>
          <simpara>Adjust the
-      maximum depth of the template stack before
-      <application>libxslt</application> concludes it is in an infinite
-      loop. The default is 500.
+      maximum depth of the template stack before <application>libxslt</application>
+      concludes it is in an infinite loop. The default is 500.
     </simpara>
        </listitem>
       </varlistentry>
       <option>--html</option></term>
        <listitem>
          <simpara>The input document is an <acronym>HTML</acronym>
-      file.
-    </simpara>
+      file.</simpara>
        </listitem>
       </varlistentry>
 
       <varlistentry>
        <term>
-      <option>--param</option> <replaceable>name</replaceable> <replaceable>value</replaceable></term>
+      <option>--param <replaceable>PARAMNAME</replaceable> <replaceable>PARAMVALUE</replaceable></option></term>
        <listitem>
-         <simpara>Pass a parameter of name
-      <replaceable>name</replaceable> and value
-      <replaceable>value</replaceable> to the stylesheet. You may pass multiple
-      name/value pairs up to a maximum of 32. If the value being passed is a
-           string rather than a node identifier, use
-           <option>--stringparam</option> instead.
-         </simpara>
+         <simpara>Pass a parameter of name <replaceable>PARAMNAME</replaceable> and
+           value <replaceable>PARAMVALUE</replaceable> to the stylesheet. You may pass
+           multiple name/value pairs up to a maximum of 32. If the value being passed
+           is a string rather than a node identifier, use <option>--stringparam</option>
+           instead.</simpara>
        </listitem>
       </varlistentry>
 
       <varlistentry>
        <term>
-         <option>--stringparam</option> <replaceable>name</replaceable> <replaceable>value</replaceable></term>
+         <option>--stringparam <replaceable>PARAMNAME</replaceable> <replaceable>PARAMVALUE</replaceable></option></term>
        <listitem>
-         <simpara>Pass a paramenter of name <replaceable>name</replaceable> and
-           value <replaceable>value</replaceable> where
-           <replaceable>value</replaceable> is a string rather than a node
+         <simpara>Pass a paramenter of name <replaceable>PARAMNAME</replaceable> and
+           value <replaceable>PARAMVALUE</replaceable>
+           where <replaceable>PARAMVALUE</replaceable> is a string rather than a node
            identifier. (Note: The string must be utf-8.) </simpara>
        </listitem>
       </varlistentry>
        <term>
       <option>--nonet</option></term>
        <listitem>
-         <simpara>Do not use the Internet to fetch DTD's,
-      entities or documents.
-    </simpara>
+         <simpara>Do not use the Internet to fetch <acronym>DTD</acronym>s,
+      entities or documents.</simpara>
        </listitem>
       </varlistentry>
     
       <varlistentry>
-       <term> <option>--path</option> <replaceable>paths</replaceable></term>
+       <term><option>--path "<replaceable>PATHS</replaceable>"</option></term>
        <listitem>
          <simpara>
            Use the list (separated by space or colon) of filesystem paths 
-       specified by <replaceable>paths</replaceable> to load
-        <acronym>DTDs</acronym>, entities or documents.
+       specified by <replaceable>paths</replaceable> to
+       load <acronym>DTDs</acronym>, entities or documents.
          </simpara>
        </listitem>
       </varlistentry>
        <term>
       <option>--catalogs</option></term>
        <listitem>
-         <simpara>Use the <acronym>SGML</acronym> catalog specified in
-      <envar>SGML_CATALOG_FILES</envar> to resolve the location of
-           external entities. By default, <application>xsltproc</application>
-           looks for the catalog specified in
-      <envar>XML_CATALOG_FILES</envar>. If that is not specified, it uses
-      <filename>/etc/xml/catalog</filename>.
+         <simpara>Use the <acronym>SGML</acronym> catalog specified
+           in <envar>SGML_CATALOG_FILES</envar> to resolve the location of
+           external entities. By default, &xsltproc;
+           looks for the catalog specified in <envar>XML_CATALOG_FILES</envar>.
+           If that is not specified, it uses <filename>/etc/xml/catalog</filename>.
     </simpara>
        </listitem>
       </varlistentry>
        <listitem>
          <simpara>Process the input document using the
       Xinclude specification. More details on this can be found in the Xinclude
-      specification: <ulink
-      url="http://www.w3.org/TR/xinclude/">http://www.w3.org/TR/xinclude/</ulink>
+      specification: <ulink url="http://www.w3.org/TR/xinclude/"/>
     </simpara>
        </listitem>
       </varlistentry>
        <listitem>
          <simpara>Output profiling
       information detailing the amount of time spent in each part of the
-      stylesheet. This is useful in optimizing stylesheet performance.
-    </simpara>
+      stylesheet. This is useful in optimizing stylesheet
+      performance.</simpara>
        </listitem>
       </varlistentry>
 
        <term>
       <option>--dumpextensions</option></term>
        <listitem>
-         <simpara>Dumps the list of all registered extensions on stdout.
-    </simpara>
+         <simpara>Dumps the list of all registered extensions on stdout.</simpara>
        </listitem>
       </varlistentry>
 
        <term>
       <option>--nowrite</option></term>
        <listitem>
-         <simpara>Refuses to write to any file or resource.
-    </simpara>
+         <simpara>Refuses to write to any file or resource.</simpara>
        </listitem>
       </varlistentry>
     
        <term>
       <option>--nomkdir</option></term>
        <listitem>
-         <simpara>Refuses to create directories.
-    </simpara>
+         <simpara>Refuses to create directories.</simpara>
        </listitem>
       </varlistentry>
     
       <varlistentry>
        <term>
-      <option>--writesubtree</option> <replaceable>path</replaceable></term>
+      <option>--writesubtree <replaceable>PATH</replaceable></option></term>
        <listitem>
-         <simpara>Allow file write only within the
-         <replaceable>path</replaceable> subtree.
-    </simpara>
+         <simpara>Allow file write only within
+         the <replaceable>PATH</replaceable> subtree.</simpara>
        </listitem>
       </varlistentry>
       <varlistentry>
          <option>--nodtdattr</option>
        </term>
        <listitem>
-         <simpara>Do not apply default attributes from the document's
-         <acronym>DTD</acronym>.
-         </simpara>
+         <simpara>Do not apply default attributes from the
+         document's <acronym>DTD</acronym>.</simpara>
        </listitem>
       </varlistentry>
     
     </variablelist>
   </refsect1>
 
+  <refsect1 id="envar">
+    <title>ENVIRONMENT</title>
+    <variablelist>
+      <varlistentry>
+        <term><envar>SGML_CATALOG_FILES</envar></term>
+        <listitem>
+           <para>...</para>
+        </listitem>
+      </varlistentry>    
+      <varlistentry>
+        <term><envar>XML_CATALOG_FILES</envar></term>
+        <listitem>
+           <para>...</para>
+        </listitem>
+      </varlistentry>    
+    </variablelist>
+  </refsect1>
+
   <refsect1 id="return">
-    <title>Return values</title>
-    <para><application>xsltproc</application>'s return codes provide information
+    <title>DIAGNOSTICS</title>
+    <para>&xsltproc;'s return codes provide information
     that can be used when calling it from scripts.</para>
-
-    <para>0: normal</para>
-    <para>1: no argument</para>
-    <para>2: too many parameters</para>
-    <para>3: unknown option</para>
-    <para>4: failed to parse the stylesheet</para>
-    <para>5: error in the stylesheet</para>
-    <para>6: error in one of the documents</para>
-    <para>7: unsupported xsl:output method</para>
-    <para>8: string parameter contains both quote and double-quotes</para>
-    <para>9: internal processing error</para>
-    <para>10: processing was stopped by a terminating message</para>
+    <variablelist>
+      <varlistentry>
+        <term><errorcode>0</errorcode></term>
+        <listitem>
+           <para>normal</para>
+        </listitem>
+      </varlistentry>    
+      <varlistentry>
+        <term><errorcode>1</errorcode></term>
+        <listitem>
+           <para>no argument</para>
+        </listitem>
+      </varlistentry>    
+      <varlistentry>
+        <term><errorcode>2</errorcode></term>
+        <listitem>
+           <para>too many parameters</para>
+        </listitem>
+      </varlistentry>    
+      <varlistentry>
+        <term><errorcode>3</errorcode></term>
+        <listitem>
+           <para>unknown option</para>
+        </listitem>
+      </varlistentry>    
+      <varlistentry>
+        <term><errorcode>4</errorcode></term>
+        <listitem>
+           <para>failed to parse the stylesheet</para>
+        </listitem>
+      </varlistentry>    
+      <varlistentry>
+        <term><errorcode>5</errorcode></term>
+        <listitem>
+           <para>error in the stylesheet</para>
+        </listitem>
+      </varlistentry>    
+      <varlistentry>
+        <term><errorcode>6</errorcode></term>
+        <listitem>
+           <para>error in one of the documents</para>
+        </listitem>
+      </varlistentry>    
+      <varlistentry>
+        <term><errorcode>7</errorcode></term>
+        <listitem>
+           <para>unsupported xsl:output method</para>
+        </listitem>
+      </varlistentry>    
+      <varlistentry>
+        <term><errorcode>8</errorcode></term>
+        <listitem>
+           <para>string parameter contains both quote and double-quotes</para>
+        </listitem>
+      </varlistentry>    
+      <varlistentry>
+        <term><errorcode>9</errorcode></term>
+        <listitem>
+           <para>internal processing error</para>
+        </listitem>
+      </varlistentry>    
+      <varlistentry>
+        <term><errorcode>10</errorcode></term>
+        <listitem>
+           <para>processing was stopped by a terminating message</para>
+        </listitem>
+      </varlistentry>    
+    </variablelist>
   </refsect1>
 
-
-
   <refsect1 id="moreinfo">
-    <title>More Information</title>
-    
-         <para><application>libxml web page: </application><ulink url="http://www.xmlsoft.org/">http://www.xmlsoft.org/</ulink></para>
-       
-         <para>W3C <acronym>XSLT page: </acronym><ulink url="http://www.w3.org/TR/xslt">http://www.w3.org/TR/xslt</ulink></para>
-       
-  
+    <title>SEE ALSO</title>
+    <para>More information can be found at the <application>libxml</application> web pages
+    at <ulink url="http://www.xmlsoft.org/"/> and the W3C <acronym>XSLT</acronym>
+    pages at <ulink url="http://www.w3.org/TR/xslt"/>.</para>
   </refsect1>
 </refentry>