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

Re: Error in XPath expression with IE

Subject: Re: Error in XPath expression with IE
From: António Mota <amsmota@xxxxxxxxx>
Date: Thu, 17 Mar 2005 14:41:33 +0000
microsoft.xmldom xpath
Well, i'm using the open-source project Sarissa, that provides a
cross-browser javascript implementation
(http://sarissa.sourceforge.net), so i think they take care of it. For
the XMLHTTPRequest they say

---
For users under IE, an XMLHTTP object is returned using the most
recent MSXML ProgID found in the client system. So, supposing that the
user has MSXML4.0 installed, the above is equal to:

var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.4.0");
---

so for a DomDocument it's probably similar.

Thanks for your remark.


On Thu, 17 Mar 2005 07:33:41 -0000, Joe Fawcett <joefawcett@xxxxxxxxxxx>
wrote:
> ----- Original Message -----
> From: "Antsnio Mota" <amsmota@xxxxxxxxx>
> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Tuesday, March 15, 2005 6:08 PM
> Subject: Re:  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

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-2013 All Rights Reserved.