This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
MS XMLDOM not transforming my XML
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] MS XMLDOM not transforming my XML
- From: "Daniel Newman" <daniel dot newman at bis-web dot net>
- Date: Mon, 2 Apr 2001 09:32:17 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hello,
I'm trying to test our XML parser for doing dynamic XSLT. Now I know the XSL
is fine, as I can view it direct in IE 5 @
http://212.87.82.99/xml/blooms-xslt.xsl, and I've also parsed the XML using
this XSL (using XML Spy), and the results are at
http://www.bloomsbury-ir.co.uk/html/media/bloomsbury.html. BUT, whenever I
try to perform the transformation in my ASP page, I get some odd results. If
you have a look at http://212.87.82.99/xml/showxml.asp you will see what I'm
getting, and it looks like just the XSL, as apposed the XHTML that I want.
The ASP page has the following code:
<%@ Language=VBScript %>
<% OPTION EXPLICIT %>
<%Response.Buffer = True
Dim objHTTP, objXML, objXSL
set objHTTP = Server.CreateObject("Microsoft.XMLHTTP")
objHTTP.Open "POST", "http://www.global-estimates.com/fmrco/bloomsbury.asp",
false
objHTTP.Send
set objXML = objHTTP.responseXML
set objXSL=Server.CreateObject("microsoft.xmldom")
objXSL.async=false
objXSL.load(Server.MapPath("blooms-xslt.xsl"))
Response.Write(objXML.transformnode(objXSL))
%>
I have installed MSXML Parser 3.0 on the server, but if I view the registry
for the XML parser, the version key is still set to 1.0. So, is there
another way of initiating the new parser from my ASP page, or should I
manually register the parser, as I don't think the installation has done it
for me (as it said it would :).
Hope someone can help, as this is very strange.
Thanks,
Daniel Newman.
Bis-Web Ltd.
Tel: 01993 880614
Fax: 01993 881625
****************************************************************************
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the
material from any computer.
****************************************************************************
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list