[xmljs-users] loading xsl
Brought to you by:
djoham,
witchhunter
From: Srikanth K. <kat...@gm...> - 2006-04-11 23:54:33
|
Hi, I am new to Xml for <script>, trying to implement following code.I want to load xsl and parse with xmlobject using <script> like following code.... ss =3D new ActiveXObject('MSXML2.FreeThreadedDOMDocument.3.0'); ss.async =3D false; ss.load('bodycontent.xsl'); cache =3D new ActiveXObject("Msxml2.XSLTemplate.3.0"); cache.stylesheet =3D ss; var src =3D new ActiveXObject('MSXML2.DOMDocument.3.0'); src.async =3D false; src.load(xmlobject); var proc =3D cache.createProcessor(); proc.addParameter("myWidth",myWidth) proc.input =3D src; proc.transform(); Regards Srikanth |