blog.easyciel.net author="Patrick Rabian" about="c#, sharepoint, biztalk, team system resources" more="news, samples, tips for .NET world's developers !"

Applying XSL transform on XML with javascript

Monday, 13 February 2006 09:55 by prabian

<script type=”text/javascript”>
var xml = new ActiveXObject(”Microsoft.XMLDOM”);
xml.async = false;
xml.load(”fileTotransform.xml”);
var xsl = new ActiveXObject(”Microsoft.XMLDOM”);
xsl.async = false;
xsl.load(”styleForTransforming.xsl”);
document.write(xml.transformNode(xsl));
</script>

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   Javascript | css
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

November 20. 2008 22:32