This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FW: Which version of xalan actually works for DocBook ?


Hi All,

I was trying to use the DocBook XSL from SourceForge. I am using version
1.49.
I tried to generate the .html from the xmls present in the "docsrc"
directory of the Distribution.

I tried the following,

CLASSPATH
set
CLASSPATH=./jars/xerces.jar;./jars/xalan.jar;./jars/xalan2.jar;./jars/xml-ap
is.jar;

XALAN/XERCES
Lateset version of xalan/xerces from Apache

CommandLine
java org.apache.xalan.xslt.Process -in
 docbook/docsrc/documentation.xml -xsl docbook/html/docbook.xsl   -out
./doc.html

I get the following Exception and it does not generate the "doc.html"

Exception
file:///c:/temp/docbook-xsl-1.49/html/lists.xsl; Line 264; Column 48; XSLT
Error
 (javax.xml.transform.TransformerException): 34 >= 8

But If I use
xerces 1.4.1
xalan (some older 2.0 version)

It generates the "doc.html" but with the following error/warning

./MyBook/jars/xerces.jar;./MyBook/jars/xalan.jar;./MyBook/jars/xalan2.jar;./
MyBo
ok/jars/xml-apis.jar;
file:///C:/Biswajit/Book/docbook/html/xref.xsl; Line 590; Column 45; Can not
loa
d requested doc: File
"file:///C:/Biswajit/Book/docbook/docsrc/html/param.xml.ol
ink" not found.
file:///C:/Biswajit/Book/docbook/html/xref.xsl; Line 590; Column 45; Can not
loa
d requested doc: File
"file:///C:/Biswajit/Book/docbook/docsrc/html/param.xml.ol
ink" not found.
file:///C:/Biswajit/Book/docbook/html/xref.xsl; Line 590; Column 45; Can not
loa
d requested doc: File
"file:///C:/Biswajit/Book/docbook/docsrc/reference.xml.oli
nk" not found.


Can anyone tell me what could be the problem.
Is DocBook works with any version of  xalan? Are there any version Matrix
for docbook.
Are there any Usage document on how to generate HTML form XSL stylesheets


I appreciate any help on this.

Thanks
 Jeet


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]