Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE : Xalan/Docbook dtd: msg#00084

text.xml.xalan.java.user

Subject: RE : Xalan/Docbook dtd

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>
Google Custom Search

Recently Viewed:
drivers.mtd/200...    security.firewa...    java.openamf.cv...    rpm.yum/2003-08...    telephony.sipp....    file-systems.oc...    qnx.openqnx.dev...    voip.linphone.u...    hardware.sony/2...    network.simulat...    boot-loaders.gr...    ietf.usenet.for...    culture.languag...    emacs.latex.pre...    music.jamiroqua...    xfree86.neomagi...    user-groups.lin...    ltp/2006-08/msg...    kde.kst/2005-08...    programming.too...    os.freebsd.deve...    window-managers...    audio.cd-record...    gnu.fiasco.bugs...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation