OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [docbook-apps] Using Xalan to create HTML Help

Thanks for the reply. I have no idea what's causing this error message,
though. A few weeks ago I created this same file (with the exact same XML
files) with no problems, and the past few days I seem to have encountered
problems everywhere - not only with this file, but with another file in
which I have tables that won't format correctly (which was also working
fine a few weeks ago, but now is not cooperating in the least).

I am still very new to XML and am trying to complete my first two projects.
The documentation on everything related to XML is so scarce, and so when I
run into problem, seeing as I have not much of a personal knowledge base to
work with either, I have absolutely no idea how to proceed. Is the problem
with Xalan? Is the problem with my code? Is the problem that there is so
much unrest in the Middle East? Where, oh where, do I begin?

                      "Mark Hazell"                                                                                                                
                      <markh@corvu.com.        To:       <JABakken@dstsystems.com>                                                                 
                      au>                      cc:                                                                                                 
                                               Subject:  RE: [docbook-apps] Using Xalan to create HTML Help                                        
                      06/16/2003 06:54                                                                                                             

If its any help, your code appears to be correct as compared to mine below.
Instead of xalan I use saxon to produce the htmlhelp files.

regards, Mark.

<?xml version="1.0" ?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "docbookx.dtd" [
<!ENTITY chap1 SYSTEM "gaguide.xml">
<!ENTITY chap2 SYSTEM "rwguide.xml">
<!ENTITY chap3 SYSTEM "rwref.xml">
<!ENTITY chap4 SYSTEM "eaguide.xml">
<!ENTITY chap5 SYSTEM "earef.xml">
<book><title>User Guide</title> &chap1; &chap2; &chap3; &chap4;

-----Original Message-----
From: JABakken@dstsystems.com [mailto:JABakken@dstsystems.com]
Sent: Tuesday, June 17, 2003 4:18 AM
To: docbook-apps@lists.oasis-open.org
Subject: [docbook-apps] Using Xalan to create HTML Help

I have created several separate xml files that I want to combine into one
.chm file. When you use the docbook htmlhelp.xsl, it automatically creates
the .hhc and .hhp files. But my problem at the moment is more basic.

Each one of my separate xml files is a sect1. I have created a main.xml
file that is a book that contains chapters that contain references to each
one of the separate xml files. (I probably didn't say that right, by
basically my main. xml looks something like:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book SYSTEM "file:///C:/DocBook/DTD/docbookx.dtd" [
<!ENTITY section01 SYSTEM "First_Topic.xml">
<!ENTITY section02 SYSTEM "Second_Topic.xml">
<!ENTITY section03 SYSTEM "Third_Topic.xml">
<!ENTITY section04 SYSTEM "Fourth_Topic.xml">
<book><title>Help System</title>
<chapter><title>First Sections</title>
<chapter><title>Second Sections</title>

I've tested my main.xml and it's valid. My problem is that when I go to
create the html, I get the following error message:

<Location of error unknown>XSLT Error
<javax.xml.transform.TransformerException> :
java.net.MalformedURLException: no protocol: First_Topic.xml

I've gotten this message before, and I can't remember what I did to fix it.
Any ideas?



To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]