This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
docbook dtd and org.apache.xalan.xslt.Process classes
- To: docbook at lists dot oasis-open dot org
- Subject: DOCBOOK: docbook dtd and org.apache.xalan.xslt.Process classes
- From: David Parker <dlparker at facstaff dot wisc dot edu>
- Date: Mon, 20 Mar 2000 15:12:07 -0600
- Cc: xalan-dev at xml dot apache dot org, xalan-dev-help at xml dot apache dot org
- References: <David Parker's message of "Thu, 09 Mar 2000 14:50:37 -0600"><4.2.2.20000309140441.00ad1340@facstaff.wisc.edu>
- Reply-To: docbook at lists dot oasis-open dot org
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