diff --git a/ChangeLog b/ChangeLog index bd4a1276..437e683a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu Nov 14 07:22:23 MST 2002 John Fleck + + * doc/xsltproc.1 + * doc/xsltproc.html - ran stylesheets to update man page + and html with Daniel's fix to #95510 + Thu Nov 14 15:10:13 CET 2002 Daniel Veillard * libxslt/transform.c: applied patch from Brian McCauley fixing #95493 diff --git a/doc/xsltproc.1 b/doc/xsltproc.1 index 24cc7b47..64f271b4 100644 --- a/doc/xsltproc.1 +++ b/doc/xsltproc.1 @@ -28,8 +28,8 @@ xsltproc \- command line xslt processor | \fB--html\fR | \fB--docbook\fR | \fB--param \fIname\fR \fIvalue\fR\fR | \fB--stringparam \fIname\fR \fIvalue\fR\fR | \fB--nonet\fR | \fB--catalogs\fR | \fB--xinclude\fR | \fB--profile\fR | \fB--dumpextensions\fR | \fB--nowrite\fR - | \fB--nomkdir\fR] [\fBstylesheet\fR] [\fIfile1\fR] [\fIfile2\fR] [\fI....\fR] - + | \fB--nomkdir\fR | \fB--writesubtree\fR] [\fBstylesheet\fR] [\fIfile1\fR] + [\fIfile2\fR] [\fI....\fR] .fi .SH "INTRODUCTION" @@ -128,6 +128,10 @@ Refuses to write to any file or resource. \fB--nomkdir\fR Refuses to create directories. +.TP +\fB--writesubtree\fR \fIpath\fR +Allow file write only within the \fIpath\fR subtree. + .SH "RETURN VALUES" .PP diff --git a/doc/xsltproc.html b/doc/xsltproc.html index 7f85907b..531065ab 100644 --- a/doc/xsltproc.html +++ b/doc/xsltproc.html @@ -1,4 +1,4 @@ -xsltproc

Name

xsltproc — command line xslt processor

Synopsis

xsltproc [-V | -v | -o file | --timing | --repeat | --debug | --novalid | --noout | --maxdepth val | --html | --docbook | --param name value | --stringparam name value | --nonet | --catalogs | --xinclude | --profile | --dumpextensions] [stylesheet] [file1] [file2] [....]

Introduction

+xsltproc

Name

xsltproc — command line xslt processor

Synopsis

xsltproc [[-V] | [-v] | [-o file] | [--timing] | [--repeat] | [--debug] | [--novalid] | [--noout] | [--maxdepth val] | [--html] | [--docbook] | [--param name value] | [--stringparam name value] | [--nonet] | [--catalogs] | [--xinclude] | [--profile] | [--dumpextensions] | [--nowrite] | [--nomkdir] | [--writesubtree]] [stylesheet] [file1] [file2] [....]

Introduction

xsltproc is a command line tool for applying XSLT stylesheets to XML documents. It is part of libxslt, the XSLT C @@ -16,7 +16,7 @@

By default, output is to stdout. You can specify a file for output using the -o option. -

Command Line Options

-V or --version
Show the version of +

Command Line Options

-V or --version
Show the version of libxml and libxslt used.
-v or --verbose
Output each step taken @@ -66,13 +66,12 @@ --nonet
Do not use the Internet to fetch DTD's or entities.
- --catalogs
Use catalogs to resolve the location of - external entities. This speeds DTD resolution. By having a - catalog file point to a local version of the DTD, - xsltproc does not have to use the - Internet to fetch the DTD. xsltproc - uses the catalog identified by the environmental variable - SGML_CATALOG_FILES. + --catalogs
Use the SGML catalog specified in + SGML_CATALOG_FILES to resolve the location of + external entities. By default, xsltproc + looks for the catalog specified in + XML_CATALOG_FILES. If that is not specified, it uses + /etc/xml/catalog.
--xinclude
Process the input document using the Xinclude specification. More details on this can be found in the Xinclude @@ -83,5 +82,12 @@ stylesheet. This is useful in optimizing stylesheet performance.
--dumpextensions
Dumps the list of all registered extensions on stdout. -

Return values

xsltproc's return codes provide information - that can be used when calling it from scripts.

0: normal

1: no argument

2: too many parameters

3: unknown option

4: failed to parse the stylesheet

5: error in the stylesheet

6: error in one of the documents

7: unsupported xsl:output method

8: string parameter contains both quote and double-quotes

9: internal processing error

10: processing was stopped by a terminating message

More Information

libxml web page: http://www.xmlsoft.org/

W3C XSLT page: http://www.w3.org/TR/xslt

+
+ --nowrite
Refuses to write to any file or resource. +
+ --nomkdir
Refuses to create directories. +
+ --writesubtree path
Allow file write only within the + path subtree. +

Return values

xsltproc's return codes provide information + that can be used when calling it from scripts.

0: normal

1: no argument

2: too many parameters

3: unknown option

4: failed to parse the stylesheet

5: error in the stylesheet

6: error in one of the documents

7: unsupported xsl:output method

8: string parameter contains both quote and double-quotes

9: internal processing error

10: processing was stopped by a terminating message

More Information

libxml web page: http://www.xmlsoft.org/

W3C XSLT page: http://www.w3.org/TR/xslt