This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Dynamic xml into xmldom
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Dynamic xml into xmldom
- From: "Chris Bayes" <Chris at Bayes dot co dot uk>
- Date: Mon, 26 Mar 2001 17:22:52 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Chris,
If you don't want to use data islands then document.XMLDocument is the
closest you will get. Depending on what you are doing.
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
>-----Original Message-----
>From: owner-xsl-list@lists.mulberrytech.com
>[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Chris
>Davidson
>Sent: 26 March 2001 15:16
>To: 'xsl-list@lists.mulberrytech.com.'
>Subject: [xsl] 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
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list