[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK: Chunking with XSL using Xalan?
Eric:
Make sure that extensions/xalan2 (or something similar) is in your classpath
before you attempt to chunk using Xalan. Chunking is done via extensions and
the extensions are packed on a .jar archive that needs to be visible to your
Java interpreter
HTH
Carlos
On 02/19/02 1:34, "Glass, Eric" <eric.glass@capitalone.com> wrote:
> I was just looking for more clarification on how to do chunking w/Xalan. I
> can do:
>
> java org.apache.xalan.xslt.Process -in test.xml -xsl
> docbook/html/docbook.xsl -out test.html
>
> And I get the (single) html output. Likewise, I have had success with the
> FO output. But the chunking has never worked for me -- I have tried the
> html/chunk.xsl stylesheet, as well as the expchunk.xsl,
> chunk-experimental.xsl, chunker.xsl, the htmlhelp stuff... and so forth.
>
> I am using the xsl-1.48 docbook stuff. On the Java side, I have tried jdk
> 1.3.1 with xalan 2.3.0, 2.2, 2.1.0, and 2.0.1. I have also tried it with
> whatever version of Xalan and Xerces that came bundled with Fop 2.3.0rc, as
> well as against the version of Xalan bundled with jdk 1.4. I get various
> different errors with each of these, but a common error I get when running
> the xalan processor is
>
> (Location of error unknown)XSLT Error
> (javax.xml.transform.TransformerConfigurationException):
> javax.xml.transform.TransformerException:
> java.lang.ArrayIndexOutOfBoundsException
>
> I get _some_ sort of progress if I run against expchunk.xsl (it looks like
> it's trying to do something), but I get an error indicating it can't find
> .chunks in the current directory (if I understand correctly, this is sort of
> a "temp" file created by the chunking process?).
>
> Any help would be greatly appreciated -- an example environment setup, or
> command-line examples. I am probably just missing some obvious
> configuration item, but it is quite frustrating. Thanks!
>
> Eric
>
> **************************************************************************
> The information transmitted herewith is sensitive information intended only
> for use by the individual or entity to which it is addressed. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any review, retransmission, dissemination, distribution, copying or other
> use of, or taking of any action in reliance upon this information is
> strictly prohibited. If you have received this communication in error,
> please contact the sender and delete the material from your computer.
--
Carlos E. Araya
---+ WebCT Administrator/Trainer
P | California Virtual Campus
- | C/O De Anza College
G | 21250 Stevens Creek Blvd
---+ Cupertino, CA 95014
email carlos@cvc.edu
web http://www.cvc1.org/ (work)
http://www.silverwolf-net.net (personal)
phone 408 257 0420 (work)
PGP Fingerprint: E629 5DFD 7EAE 4995 E9D7 3D2F 5A9F 0CE7 DFE7 1756
80/20 Rule: Simplicity vs. complexity. 80 percent of the
functionality/feature set of an "ideal" solution set, with only 20 percent
of the complexity of the ideal solution or 20 percent of the effort required
to build the ideal solution; or put another way, the last 20 percent of the
"ideal" feature set is what creates the most complexity
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC