This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Any suggestions on Java problems? (with Saxon)
- To: Dan York <dyork at e-smith dot com>
- Subject: Re: DOCBOOK-APPS: Any suggestions on Java problems? (with Saxon)
- From: Jean-Baptiste Quenot <jb dot quenot at smartcanal dot com>
- Date: Mon, 17 Sep 2001 21:51:20 +0200
- Cc: docbook-apps <docbook-apps at lists dot oasis-open dot org>
- List-Id: <docbook-apps.lists.oasis-open.org>
- References: <20010917144903.C14839@e-smith.com>
* Dan York:
> Having some Java problems today. Normally I use 'xsltproc' for all my
> DocBook XML, but today I wanted to do a comparison with the output
> from Saxon 6.2.2.
I find saxon much better than xsltproc in terms of output. For example,
saxon outputs entity references for latin-1 characters. Also, xsltproc
does not yet fully implements the XSLT standard. I once tried to
process a document written with Resume DTD, and xsltproc failed whereas
saxon did the job perfectly.
However with saxon, because the JVM must be started each time you invoke
saxon, and sadly because of the very nature of Java, it is much slower
than xsltproc.
If you read M. Kay's book, I'm sure you will be a Saxon addict. IMHO,
it is really a professional XSLT processor, it is very careful about all
the subtleties of implementing XSLT.
> $ java com.icl.saxon.Stylesheet sample.xml indent.xsl > out-saxon.xml
$ java com.icl.saxon.StyleSheet sample.xml indent.xsl > out-saxon.xml
---
Capitalize the s :-)
BTW, I know you tweaked a lot the XSL stylesheets, so could you tell me
(or maybe someone else who reads this) how you would manage to alter the
output HTML's <title/> tag, for example to make my company name appear
in all window titles.
Cheerio!
--
Jean-Baptiste Quenot
http://caraldi.com/jbq/
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>