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]

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


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