Missing double quote in doctype. Pl. use: <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "/usr/share/sgml/docbook/xml-dtd-4.2/docbookx.dtd">
instead. -----Original Message----- From: Hemond, Steve [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 1:32 PM To: [EMAIL PROTECTED] Subject: Xalan/Docbook dtd Hi ppl, I'm willing to use Xalan to transform a docbook file to html. - I'm using the Docbook dtd version 4.2 - I'm using the Docbook stylesheets version 1.64.1 $ xalan -IN test.xml -XSL $DBXSL -OUT sample.html ... where $DBXSL points to /usr/share/sgml/docbook/docbook-xsl-1.64.1/html/docbook.xsl Returns : file:///home/shemond/code/docbook/test.xml; Line #26; Column #1; XSLT Error (javax.xml.transform.TransformerException): XML document structures must start and end within the same entity. Anyone can point me what is wrong? Here is my source xml file : <?xml version="1.0"?> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "/usr/share/sgml/docbook/xml-dtd-4.2/docbookx.dtd> <article> <articleinfo> <title>Sample Article</title> </articleinfo> <para>This is an introductory paragraph.</para> <sect1> <title>Introduction</title> <para>This is a paragraph.</para> <sect2> <title>Purpose</title> <para>Blah, blah, blah... </para> </sect2> <sect2> <title>Scope</title> <para>This is more text</para></sect2> </sect1> <sect1> <title>Installation</title> <para>To install this program, you need to execute some script. </para> </sect1> </article> I appreciate your help, Best regards, Steve Hemond Programmeur Analyste / Analyst Programmer Smurfit-Stone, Ressources Forestieres La Tuque, P.Q. Tel.: (819) 676-8100 X2833 [EMAIL PROTECTED]
