[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML translation problem using XSLT

Subject: Re: XML translation problem using XSLT
From: "Bix" <bix_xslt@xxxxxxxxxxx>
Date: Wed, 20 Nov 2002 22:39:27 -0600
xslt version mismatch
It looks like you have a version mismatch....note you have DOMDOCUMENT.4.0
in your javascript, but your dll is msxml 3.  I would suggest rewriting the
javascript to use the 3.0 or updating your msxml to Microsoft's latest
version (4.0).


----- Original Message -----
From: "Dineen, Geoffrey" <Geoffrey.Dineen@xxxxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, November 20, 2002 8:16 PM
Subject:  XML translation problem using XSLT


> Hi
>
> I'm getting the following error from the XML parser when I attempt to
> transform an XML document using XSLT.  The error is:
>
> Error Type:
> msxml3.dll (0x80004005)
> The stylesheet does not contain a document element. The stylesheet may be
> empty, or it may not be a well-formed XML document.
>
> I am using the following namespace:
>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
>
> I'm using the following JavaScript to set up the objects and do the
> transform:
>
> var sXml = "/esrscripts2/Menu2.xml"
> var sXsl = "/esrscripts2/menus.xsl"
>
> var oXmlDoc = Server.CreateObject("MSXML2.DOMDOCUMENT.4.0");
> var oXslDoc = Server.CreateObject("MSXML2.DOMDOCUMENT.4.0");
>
> //oXmlDoc.async = false;
> //oXslDoc.async = false;
> oXmlDoc.load(Server.MapPath(sXml));
> oXslDoc.load(Server.MapPath(sXsl));
>
> //oXmlDoc.load(sXml);
> //oXslDoc.load(sXsl);
>
> Response.Write(oXmlDoc.transformNode(oXslDoc));
>
> Does anybody have any ideas on what could be causing this error.  Any help
> at all would be greatly appreciated.
>
> TIA
> Geoff Dineen
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.