[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Dynamic xml into xmldom
I am creating xml documents on a server and sending them to Explorer to carry out xsl transform. But i want to load the document into an XMLDOM object to process, so my script in the stylesheet looks like source = new ActiveXObject("Microsoft.XMLDOM"); source.async = false; ***xmlDoc.load()***; style = new ActiveXObject("Microsoft.XMLDOM"); style.async = false; style.load("occurrence.xsl") ; xslTarget.innerHTML = source.transformNode(style); my problem is what goes between the stars? The xml is there but I cannot get the transformation to occur. It works on static files. The dynamic xml points at this stylesheet, I need some sort of "this" variable. Thanks Chris Davidson XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|