W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2000

Re: Question about Dom

From: Michael Champion <mike.champion@softwareag-usa.com>
Date: Sun, 10 Sep 2000 09:37:27 -0400
Message-Id: <4.3.2.7.0.20000910093630.00b1a100@157.189.12.7>
To: "gururaj sagar" <gururaj.sagar@kshema.com>, <www-dom@w3.org>
At 12:04 PM 9/9/00 +0530, gururaj sagar wrote:

>
>I want to know how an xml document can be converted into an html document 
>using DOM.
>

You could write a script or Java (or whatever) program to "procedurally" 
build an output XHTML (well-formed HTML) document from an XML document, or 
you could use XSLT to take a "declarative" description of how to map XML 
inputs to HTML outputs.  There is no standard DOM interface to an XSLT 
engine, but  most XSLT engines out there  have DOM-like APIs that generally 
let you take a DOM tree and transform it with a stylesheet to produce HTML.  
Received on Sunday, 10 September 2000 09:36:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:47 GMT