Subject: RE: RE: [slightly OT] question about PAX and XPath
From: "Macaulay,Malcolm (US)" <Malcolm.Macaulay2@xxxxxxxxx>
Date: Wed, 5 Jun 2002 14:31:58 -0500
|
Oh yes, you're quite right.
Sorry for the confusion. I'm sure if you spend a few days reading the W3C pages the answer will be obvious. :-)
cheers
Malcolm
-----Original Message-----
From: Amanda Birmingham [mailto:lists@xxxxxxxxxxxx]
Sent: 05 June 2002 14:15
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [slightly OT] question about PAX and XPath
Hi, Malcolm,
I know that selectNodes and selectSingleNodes *do* take XPath; however, my
understanding (pls correct if I'm wrong!) was that these methods are MS
extensions of the DOM, and not part of any of the DOM standards (1,2, or 3)
... hence my concern about using them and my (so far fruitless) quest to
find standard methods that accept XPath ...
Thanks,
Amanda
At 01:19 PM 6/5/2002 -0500, you wrote:
>Hi Amanda,
>
>selectNodes and selectSingleNodes do take XPath. I assume you're using
>MSXML4, in which case you have to do:
>
>...
>oMyDOM.load url
>oMyDOM.setProperty "SelectionLanguage", "XPath"
>..
>set oMyNodeSet = oMyDOM.selectNodes(SomeXPath)
>
>Not sure why, but I think it has something to do with the MS DOM
>supporting some pre-XPath query language. The SDK for the MSXML4 is pretty
>good.
>
>cheers
>
>Malcolm
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|