OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK: docbook.xsl VS chunk.xsl (xalan problems!)


I am open to all applications. I will test it but where can I find it...
Thanks
Templth


>Why not use xsltproc to generate xhtml chunked, the output is much better,
>e.g
>
>xsltproc     file:///path/to/docbook-xsl/xhtml/chunk.xsl       in.xml
>
>This will produce a set of html files that are named sensibly such as:
>
>index.html
>
>ar01s02.html
>
>and
>
>ar01s03.html
>
>
>
>----- Original Message -----
>From: "Th Templ" <templ_th@hotmail.com>
>To: <molloyda@eeng.dcu.ie>; <docbook@lists.oasis-open.org>
>Sent: Friday, July 05, 2002 8:15 AM
>Subject: Re: DOCBOOK: docbook.xsl VS chunk.xsl (xalan problems!)
>
>
> > Hello,
> >
> > I use Saxon as xslt processor and it works fine. I use as xsl entry file
> > chunk.xsl because it generates several separate html files...
> > I use ant to execute the conversion. Here is the specific lines of my
> > build.xml:
> >
> > (...)
> >
> > <property name="saxon.dir" value="${basedir}/src/lib/"/>
> > <property name="docbook.xsl.dir" value="${basedir}/src/docbookxsl"/>
> >
> > (...)
> >
> > <java classname="com.icl.saxon.StyleSheet"
> >        dir="${html.dir}"
> >        fork="true"
> >        failonerror="true"
> >        maxmemory="128m">
> >    <arg value="${src.xml.dir}/doc.xml"/>
> >    <arg value="${docbook.xsl.dir}/xhtml/chunk.xsl"/>
> >    <classpath>
> >       <pathelement location="${saxon.dir}/saxon.jar"/>
> >       <pathelement path="${java.class.path}"/>
> >    </classpath>
> > </java>
> >
> > (...)
> >
> > Templth
> >
> > >From: David Molloy <molloyda@eeng.dcu.ie>
> > >Reply-To: molloyda@eeng.dcu.ie
> > >To: docbook@lists.oasis-open.org
> > >Subject: DOCBOOK: docbook.xsl    VS    chunk.xsl    (xalan problems!)
> > >Date: Thu, 04 Jul 2002 17:53:24 +0100
> > >
> > >Hi,
> > >    I've been using docbook lately for writing some notes and
> > >I really want to get them into multiple files rather than one
> > >single cumbersome file.  Anyway, I tried using chunk.xsl
> > >instead of docbook.xsl (which was working fine!) by entering
> > >the xalan directory and typing:
> > >
> > >java -cp
> >
> >bin/xalan.jar;bin/xercesImpl.jar;bin/runtime.jar;bin/xsltc.jar;bin/xml-apis
>.
> > >jar org.apache.xalan.xslt.Process -IN D:\EE557\notes\EE557.xml -PARAM
> > >xalan.extensions 1 -XSL ../dbookxsl/html/chunk.xsl -OUT
> > >D:\EE557\notes\index.html
> > >
> > >However, using chunk.xsl I now get back:
> > >(Location of error unknown)XSLT Error
> > >(javax.xml.transform.TransformerConfigurationException):
> > >java.xml.transform.TransformerException:
> > >java.lang.ArrayIndexOutOfBoundsException
> > >
> > >Could anyone please clarify to me what is going on please?  And if
>possible
> > >a suggestion as to how to fix it please!
> > >Thanks in advance,
> > >
> > >David Molloy
> > >
> > >
> > >More details:
> > >JDK - tried jdk1.4.0, jdk1.3.1, jdk1.2.2 - identical problem for each
> > >Xalan_Java 2
> > >Windows 2k
> >
> >
> >
> >
> > _________________________________________________________________
> > Send and receive Hotmail on your mobile device: http://mobile.msn.com
> >
>




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC