This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: [docbook] Validator trouble
- From: Gianluca Sforna <gs at moldiscovery dot com>
- To: Ben Branders <ben dot branders at skynet dot be>
- Cc: docbook at lists dot oasis-open dot org
- Date: Fri, 09 Jul 2004 10:05:35 +0200
- Subject: Re: [docbook] Validator trouble
- References: <ccjutd$7eh$1@sea.gmane.org>
On Thu, 2004-07-08 at 19:07, Ben Branders wrote:
> I'm converting (old) HTML documentation to DocBook (manually of course).
I converted a lot of HTML files in a sem-automatiway using html2db:
http://www.cise.ufl.edu/~ppadala/tidy/
that gives you a good starting point for editing.
>
> The whole document is one book, divided into different parts. The parts are
> seperate files (which are divided into sections).
>
> I'm using the validator on sf.net (http://validate.sf.net/) to validate the
> sourcefiles. I thought I was writing good XML, but the validator keeps
> spitting out error messages. It says that you have to declare the DocType
> on the first line, but there I have my <xml ...?>.
you can also try tidy.sf.net
>
> What do I have to do to make it valid?
>
> As I already said, I'm using multiple sources. Do I have to declare the
> DocType in every XML or just in the main XML file?
I guess it goes in the main XML, like the example in the tdg:
http://www.docbook.org/tdg/en/html/ch02.html#ch02-makexml
Cheers
Gianluca
To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.