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: <>
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 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:07 UTC