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

RE: XPATH and MSXML

Subject: RE: XPATH and MSXML
From: "Ciaran Byrne" <ciaran.byrne@xxxxxxx>
Date: Tue, 13 Feb 2001 17:33:00 -0800
msxml xpath vb
Excellant ... thank you !!

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Don Bruey
Sent: Tuesday, February 13, 2001 8:44 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  XPATH and MSXML


I just went through this myself.  Dimitre N.  set me straight on a MS
newsgroup.  You need to tell DOM to accept and use XPath expressions.  In VB
it would be something like this although I don't know the exact VB syntax.

XMLDoc.setProperty("SelectionLanguage", "XPath")


Don


-----Original Message-----
From: Ciaran Byrne [mailto:ciaran.byrne@xxxxxxx]
Sent: Tuesday, February 13, 2001 7:27 PM
To: Xsl-List
Subject:  XPATH and MSXML


Hi all,
	I'm using MSXML3 latest build to perform some
DOM Manipulation. I'm having a few problems using an XPATH
query string.

Set oDOMList = oDOM.selectNodes("ancestor::div")

I thought the XPATH Query "ancestor::wml" would select all the 'div'
ancestors of the context node if they exist. Instead I get an error:

**************
expected token 'eof' found ':'.
ancestor ->:<-:div
**************

Has anyone any ideas why this error has popped up ?

Cheers,
Ciaran.


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

 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
  • XPATH and MSXML
    • Ciaran Byrne - Tue, 13 Feb 2001 11:29:09 -0500 (EST)
      • <Possible follow-ups>
      • Don Bruey - Tue, 13 Feb 2001 11:44:38 -0500 (EST)
        • Ciaran Byrne - Tue, 13 Feb 2001 12:35:20 -0500 (EST) <=

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.