You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by David Parker <dl...@facstaff.wisc.edu> on 2000/03/20 22:12:07 UTC

docbook dtd and org.apache.xalan.xslt.Process classes

At 06:38 PM 3/12/00 -0500, you wrote:

>  <?xml version="1.0"?>
>  <!DOCTYPE article PUBLIC "-//Norman Walsh//DTD DocBk XML V1.4//EN"
>                     "http://docbook.org/docbook/xml/1.4/db3xml.dtd">
>



I'm attempting to process an XML doc written to the DocBK spec.
I'm using the Apache XML Project  "org.apache.xalan.xslt.Process" classes 
to process the xml file.

It is telling me that the dtd does not exist.

Has anyone else attempted this?


E:\Inetpub\wwwroot\project\XML Arch>java org.apache.xalan.xslt.Process -in 
test.xml  -xsl test.xsl -out o.html

========= Parsing file:E:/Inetpub/wwwroot/project/XML Arch/test.xsl ==========
Parse of file:E:/Inetpub/wwwroot/project/XML Arch/test.xsl took 1562 
milliseconds
========= Parsing test.xml ==========
file:/E:/Inetpub/wwwroot/project/XML Arch/test.xml; Line -1; Column -1
XSL Error: Could not parse test.xml document!
XSLT: File "http://docbook.org/docbook/xml/1.4/db3xml.dtd" not found.
Xalan: was not successful.
XSLProcessor: done