|
|
Choosing A Webhost: |
RE : Xalan/Docbook dtd: msg#00084text.xml.xalan.java.user
Thanks! It works perfectly now! Note : Just before I got everything to work, Xalan was complaining about misssing .ent files in /ent subdirectory. When looking at the docbook-dtd directory, NO /ent subdirectory was present. The catalog file was also pointing to /ent subdirectory for .ent files. I have manually created the subdirectory and copied all the .ent files into it and it worked. Question is : Why haven't I the /ent subdirectory by default? Thanks again! Regards, Steve Hemond Programmeur Analyste / Analyst Programmer Smurfit-Stone, Ressources Forestières La Tuque, P.Q. Tel.: (819) 676-8100 X2833 shemond@xxxxxxxxxxx > -----Original Message----- > From: Kumar, Suraj [mailto:Suraj.Kumar@xxxxxxxxxxxxx] > Sent: Thursday, January 22, 2004 1:45 PM > To: 'Hemond, Steve'; xalan-j-users@xxxxxxxxxxxxxx > Subject: RE: Xalan/Docbook dtd > > > 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:SHEMOND@xxxxxxxxxxx] > Sent: Thursday, January 22, 2004 1:32 PM > To: xalan-j-users@xxxxxxxxxxxxxx > 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 > shemond@xxxxxxxxxxx >
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Xalan/Docbook dtd, Kumar, Suraj |
|---|---|
| Next by Date: | RE: RE : Xalan/Docbook dtd, Kumar, Suraj |
| Previous by Thread: | Xalan/Docbook dtd, Hemond, Steve |
| Next by Thread: | RE: RE : Xalan/Docbook dtd, Kumar, Suraj |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |