+Sat Sep 13 02:04:13 CEST 2003 Daniel Veillard <daniel@veillard.com>
+
+ * xsltproc/xsltproc.c doc/xsltproc.1 doc/xsltproc.xml
+ libxslt/xsltutils.h: removing the DocBook SGML support
+
Fri Sep 12 13:52:07 CEST 2003 Daniel Veillard <daniel@veillard.com>
* configure.in: preparing release libxslt-1.0.33
.nf
\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--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 | \fB--writesubtree\fR] [\fBstylesheet\fR] [\fIfile1\fR]
- [\fIfile2\fR] [\fI....\fR]
+ | \fB--html\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
+ | \fB--writesubtree\fR] [\fBstylesheet\fR] [\fIfile1\fR] [\fIfile2\fR]
+ [\fI....\fR]
.fi
.SH "INTRODUCTION"
The input document is an HTML file.
.TP
-\fB--docbook\fR
-The input document is DocBook SGML. Do not use the --docbook option of xsltproc to process XML DocBook documents, this option is only intended to provide some (limited) support of the SGML version of DocBook.
-
-.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.
<arg>--noout</arg>
<arg>--maxdepth <replaceable>val</replaceable></arg>
<arg>--html</arg>
- <arg>--docbook</arg>
<arg>--param <replaceable>name</replaceable> <replaceable>value</replaceable></arg>
<arg>--stringparam <replaceable>name</replaceable> <replaceable>value</replaceable></arg>
<arg>--nonet</arg>
</listitem>
</varlistentry>
-
- <varlistentry>
- <term>
- <option>--docbook</option></term>
- <listitem>
- <simpara>The input document is DocBook
- <acronym>SGML</acronym>.
- Do not use the --docbook option of xsltproc to process XML DocBook
- documents, this option is only intended to provide some (limited) support
- of the SGML version of DocBook.
- </simpara>
- </listitem>
- </varlistentry>
-
-
<varlistentry>
<term>
<option>--param</option> <replaceable>name</replaceable> <replaceable>value</replaceable></term>
*
* Check that a node is a 'real' one: document, element, text or attribute.
*/
-#ifdef LIBXML_DOCB_ENABLED
-#define IS_XSLT_REAL_NODE(n) \
- (((n) != NULL) && \
- (((n)->type == XML_ELEMENT_NODE) || \
- ((n)->type == XML_TEXT_NODE) || \
- ((n)->type == XML_ATTRIBUTE_NODE) || \
- ((n)->type == XML_DOCUMENT_NODE) || \
- ((n)->type == XML_HTML_DOCUMENT_NODE) || \
- ((n)->type == XML_DOCB_DOCUMENT_NODE)))
-#else
#define IS_XSLT_REAL_NODE(n) \
(((n) != NULL) && \
(((n)->type == XML_ELEMENT_NODE) || \
((n)->type == XML_ATTRIBUTE_NODE) || \
((n)->type == XML_DOCUMENT_NODE) || \
((n)->type == XML_HTML_DOCUMENT_NODE)))
-#endif
/*
* Our own version of namespaced atributes lookup.
#include <libxml/debugXML.h>
#include <libxml/HTMLtree.h>
#include <libxml/xmlIO.h>
-#ifdef LIBXML_DOCB_ENABLED
-#include <libxml/DOCBparser.h>
-#endif
#ifdef LIBXML_XINCLUDE_ENABLED
#include <libxml/xinclude.h>
#endif
static int dumpextensions = 0;
static int novalid = 0;
static int noout = 0;
-#ifdef LIBXML_DOCB_ENABLED
-static int docbook = 0;
-#endif
#ifdef LIBXML_HTML_ENABLED
static int html = 0;
#endif
doc = htmlParseFile(filename, NULL);
else
#endif
-#ifdef LIBXML_DOCB_ENABLED
- if (docbook)
- doc = docbParseFile(filename, NULL);
- else
-#endif
doc = xmlParseFile(filename);
}
}
#ifdef LIBXML_HTML_ENABLED
printf("\t--html: the input document is(are) an HTML file(s)\n");
#endif
-#ifdef LIBXML_DOCB_ENABLED
- printf("\t--docbook: the input document is SGML docbook\n");
-#endif
printf("\t--param name value : pass a (parameter,value) pair\n");
printf("\t value is an UTF8 XPath expression.\n");
printf("\t string values must be quoted like \"'string'\"\n or");
} else if ((!strcmp(argv[i], "-noout")) ||
(!strcmp(argv[i], "--noout"))) {
noout++;
-#ifdef LIBXML_DOCB_ENABLED
- } else if ((!strcmp(argv[i], "-docbook")) ||
- (!strcmp(argv[i], "--docbook"))) {
- docbook++;
-#endif
#ifdef LIBXML_HTML_ENABLED
} else if ((!strcmp(argv[i], "-html")) ||
(!strcmp(argv[i], "--html"))) {
doc = htmlParseFile(argv[i], NULL);
else
#endif
-#ifdef LIBXML_DOCB_ENABLED
- if (docbook)
- doc = docbParseFile(argv[i], NULL);
- else
-#endif
doc = xmlParseFile(argv[i]);
if (doc == NULL) {
fprintf(stderr, "unable to parse %s\n", argv[i]);