This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: trying to load xml and xsl nothing happing
- From: Meir <umen at netvision dot net dot il>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Sun, 16 Jun 2002 22:26:42 -0700
- Subject: Re: [xsl] trying to load xml and xsl nothing happing
- References: <000101c21502$682f8da0$a9ccf7a5@MAX>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Thanks allot Max
can you please give me short explanation why is that ?
co'z in all the tutorials i saw doing it in the way i did this ..
like here:
http://www.15seconds.com/issue/010921.htm
tnx
----- Original Message -----
From: "Max Dunn" <maxdunn@siliconpublishing.com>
To: <xsl-list@lists.mulberrytech.com>
Sent: Saturday, June 15, 2002 11:52 PM
Subject: RE: [xsl] trying to load xml and xsl nothing happing
> Change:
>
> result = XMLDoc.documentElement.transformNode(XSLDoc);
>
> to
>
> result = XMLDoc.transformNode(XSLDoc);
>
>
> Max
>
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of Meir
> Sent: Sunday, June 16, 2002 9:36 PM
> To: XSL-List@lists.mulberrytech.com
> Subject: [xsl] trying to load xml and xsl nothing happing
>
>
> Hello list ,
>
> i have this code :
>
> var XMLDoc;
>
> var XSLDoc;
>
> var result ;
>
> XMLDoc=new ActiveXObject('Msxml2.DOMDocument.3.0');
>
> XMLDoc.async = false;
>
> XSLDoc=new ActiveXObject('Msxml2.DOMDocument.3.0') ;
>
> XSLDoc.async = false; XMLDoc.load("flashCTL.xml");
>
> XSLDoc.load("flashCTL.xsl");
>
> result = XMLDoc.documentElement.transformNode(XSLDoc);
>
> alert(result);
>
> Tree.innerHTML = result;
>
>
>
> i keep geting <?xml version="1.0" encoding="UTF-16"?> , why?
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list