Re: Question about Dom

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