Subject: [xsl] Problems doing XSL Transformation using ASP From: "Rangarajan Calyanakoti" <crranga@xxxxxxxxxxx> Date: Fri, 10 Oct 2003 17:41:39 -0400 |
ERROR ---------
ASP FILE - dummy.asp ------------ <%@ language=javascript %> <% var xslt = new ActiveXObject("Msxml2.XSLTemplate"); var xslDoc = new ActiveXObject("Msxml2.FreeThreadedDOMDocument"); var xslProc; xslDoc.async = false; xslDoc.resolveExternals = false; xslDoc.load("dummy.xsl"); xslt.stylesheet = xslDoc; var xmlDoc = new ActiveXObject("Msxml2.DOMDocument"); xmlDoc.async = false; xmlDoc.resolveExternals = false; xmlDoc.load("dummy.xml"); xslProc = xslt.createProcessor(); xslProc.input = xmlDoc; xslProc.transform(); Response.Write(xslProc.output) %>
XML FILE - dummy.xml ------------ <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="dummy.xsl"?>
<DUMMY> </DUMMY>
XSL FILE - dummy.xsl ------------ <?xml version='1.0'?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" indent="yes"/>
<xsl:template match="/"> <html> <h1>Yahoooooooo</h1> </html> </xsl:template> </xsl:stylesheet>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Re: Replace Apostrophe Te, Kathy Burke | Thread | Re: [xsl] Problems doing XSL Transf, Mukul Gandhi |
RE: [xsl] Replace Apostrophe Templa, Passin, Tom | Date | RE: [xsl] Replace Apostrophe Templa, Michael Kay |
Month |