Querying the DOM using XPath
Hunter, David
dhunter at Mobility.com
Tue Jan 25 18:20:29 GMT 2000
From: Barnowsky, Greg T. [mailto:greg.t.barnowsky at unisys.com]
Sent: Tuesday, January 25, 2000 12:56 PM
>
> Microsoft has recently announced the support of XPath and
> XSLT in its XML
> parser. Can anyone tell me if I am currently searching XML
> Doc information
> via VB Script
> and what XPath will provide over my current script code?
I'm not sure if I fully understand the question, but here is what the new
XSLT and XPath support mean for MSXML:
Currently, MSXML allows you to transform XML documents into other formats,
using an ancient form of XSL. It also lets you use a language called XQL to
traverse XML documents. (XQL was, I believe, an earlier precursor to
XPath.)
With the new version (slated to be released tomorrow in Beta), the
transformation language used will be real XSLT, as specified in the
finalized W3C spec. Because XSLT uses XPath, Microsoft also had to update
their XPath implementation, so that XSLT would work properly.
MSXML's DOM implementation also uses XQL in some of its methods; for
example, there is a selectNodes() method which takes an XQL expression and
returns a node-set of all nodes matching your XPath expression. So again,
the outdated XQL syntax currently in use will be replaced with real XPath.
David Hunter
david.hunter at mobileq.com
http://www.MobileQ.com
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1
Unsubscribe by posting to majordom at ic.ac.uk the message
unsubscribe xml-dev (or)
unsubscribe xml-dev your-subscribed-email at your-subscribed-address
Please note: New list subscriptions now closed in preparation for transfer to OASIS.
More information about the Xml-dev
mailing list