xsl-list
[Top] [All Lists]

Re: Error in XPath expression with IE

2005-03-17 00:33:41
----- Original Message ----- From: "António Mota" <amsmota(_at_)gmail(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Tuesday, March 15, 2005 6:08 PM
Subject: Re: [xsl] Error in XPath expression with IE


Right, i forgot about

xmlDoc.setProperty("SelectionLanguage", "XPath");

That solves everithing. Oh well, i just have the chance to write a
piece of scrap anyhow...

You also have to make sure the version 3 parser is invoked. To be absolutely certain you need to use the line:
var xmlDoc = new ActiveXObject("msxml2.domdocument.3.0");
rather than either this line:
var xmlDoc = new ActiveXObject("microsoft.xmldom");
or by using a data island.

Joe
--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--