This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook] Validator trouble


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/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]