xsl-list
[Top] [All Lists]

RE: Getting encoding error on svg output

2003-05-14 09:54:25
Hi

(...)

<!-- Asp file -->
<%
set oXml = Server.CreateObject("MSXML2.DOMDocument")
oXml.async = false
set oXsl = Server.CreateObject("MSXML2.DOMDocument")
oXsl.async = false
call oXml.load(Server.MapPath("source.xml"))
call oXsl.load(Server.MapPath("stylesheet.xsl"))
Response.Write(oXml.transformNode(oXsl))

Use this instead:
oXml.transformNodeToObject(oXsl,Response)

(...)




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>