Convert a XML DOM Object to a HTML DOM Object



Hi,

My scenario is as follows

a. I have a XML file (Data file) and an associated stylesheet (XSL)
file.
b. I create XML DOM each for the data file and the XSL File
c. I give it to XALAN for transformation
d. I get a transformed XML DOM as the output

My requirement is that I want to convert this XML DOM to a HTML DOM
(assumingly safetly, that I get a HTML page after XSLT). The main
cause of this requirement is that other modules in my project expect a
HTML DOM object for processing.

Please let me know, if my procedure of solving the problem is correct
and is it possible to do such a conversion from XML to HTML DOM
safetly.


Thanks
> Manjunath

.



Relevant Pages

  • Re: XSLT Transformation in Javascript
    ... This works fine with non-IE browsers, ... the above I still don't know how to get an object that I can append to ... While browsers like Mozilla or Opera have an XML and HTML DOM implementation with a common base IE does not have that at all. ... Its HTML DOM is completely separate from the XML DOM which is implemented by MSXML. ...
    (microsoft.public.scripting.jscript)
  • Re: VBS GetElementByClassName custom function
    ... just one question about dom type: ... "Your code appears to assume that the domnode passed in is an XML DOM ... not a HTML DOM node from IE, ... appendChild from a HTML Node into an XML Node. ...
    (microsoft.public.scripting.vbscript)
  • Re: VBS GetElementByClassName custom function
    ... I may be misunderstanding what you want to ... "Your code appears to assume that the domnode passed in is an XML DOM ... not a HTML DOM node from IE, ...
    (microsoft.public.scripting.vbscript)
  • Re: DOM
    ... I know XML and still know next to nothing about the HTML DOM. ... XML DOM is a nice well-behaved thing, ... rats' nest of vendor-specific weirdness. ... least you'll learn a modern vendor-independent way of doing things. ...
    (alt.html)