discuss: Converting XML to HTML (and PDF)


Previous by date: 7 Apr 2004 13:04:32 -0000 Converting XML to HTML (and PDF), Owen
Next by date: 7 Apr 2004 13:04:32 -0000 Re: Documentation Licensing, Ferg / LDP
Previous in thread: 7 Apr 2004 13:04:32 -0000 Converting XML to HTML (and PDF), Owen
Next in thread: 7 Apr 2004 13:04:32 -0000 Re: Converting XML to HTML (and PDF), Owen

Subject: Re: Converting XML to HTML (and PDF)
From: "David Horton" ####@####.####
Date: 7 Apr 2004 13:04:32 -0000
Message-Id: <W4223319549302491081343043@webmail1>

> -----Original Message-----
> From: Owen ####@####.####
> Sent: Wednesday, April 7, 2004 11:21 AM
> To: ####@####.####
> Subject: Converting XML to HTML (and PDF)
> 
> 
> Saqib Ali ####@####.#### wrote:
> 
> 
> > http://validate.sf.net <---- (X)HTML / DocBook XML Validator and Transformer
> 
> If I use the URL above to validate and then generate a html document, i get a completely different document to one I generate using
> 
> xsltproc against ...../xsl-stylesheets-1.61.3/html/docbook.xsl
> 
> I prefer the output from http://validate.sf.net and wonder how or against what it is generated, and whether or not I can do it myself? or is a proprietary matter?
> 
> 
> Owen
> 


You can get similar results by using the tldp-xsl style sheets to customize the look of DocBook generated documents.  You can find tldp-xsl here: http://my.core.com/~dhorton/docbook/tldp-xsl/  The latest version is 21MAR2004.

The HTML output will not have colors by default, but you can change this by using custom CSS.  The HOWTO document in the tldp-xsl package explains how to do this.  Also check out Saqib's CSS [http://www.xml-dev.com/blog/new.css] to see how the validator's look is achieved.

Dave




Previous by date: 7 Apr 2004 13:04:32 -0000 Converting XML to HTML (and PDF), Owen
Next by date: 7 Apr 2004 13:04:32 -0000 Re: Documentation Licensing, Ferg / LDP
Previous in thread: 7 Apr 2004 13:04:32 -0000 Converting XML to HTML (and PDF), Owen
Next in thread: 7 Apr 2004 13:04:32 -0000 Re: Converting XML to HTML (and PDF), Owen


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.