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

RE: Querying the DOM using XPath

  • From: "Barnowsky, Greg T." <greg.t.barnowsky@u...>
  • To: "'Hunter, David'" <dhunter@M...>
  • Date: Tue, 25 Jan 2000 16:53:38 -0500

greg barnowsky
Sorry for the poorly worded question.  Let's see if this is a little better.


   If I am currently parsing through a well-formed and validated XML
document based on prior knowledge of it's schema using
   the Microsoft MSXML Component Model API and my favorite prog. language,
what does the support of XPath provide me? 
   For example, does it allow me to abstract parsing logic from code?  Is it
much faster than using the component API?

   I am currently processing the XML Document with no intentions to display
the information.  That is, this processing is 
   oriented to backoffice B2B operations, e.g. mappings, translations,
auditing, etc. not presentation on a Web Page.

Maybe I just have missed something in the spec, or am not familiar with the
quirks of XML to see if XPath for me provides any 
benefit.

Hope this clears it up.

Regards
Greg Barnowsky
Unisys Corporation

-----Original Message-----
From: Hunter, David [mailto:dhunter@M...]
Sent: Tuesday, January 25, 2000 1:18 PM
To: 'Barnowsky, Greg T.'; xml-dev@i...
Subject: RE: Querying the DOM using XPath 


From: Barnowsky, Greg T. [mailto:greg.t.barnowsky@u...]
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@m...
http://www.MobileQ.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN
981-02-3594-1
Unsubscribe by posting to majordom@i... the message
unsubscribe xml-dev  (or)
unsubscribe xml-dev your-subscribed-email@your-subscribed-address

Please note: New list subscriptions now closed in preparation for transfer
to OASIS.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1
Unsubscribe by posting to majordom@i... the message
unsubscribe xml-dev  (or)
unsubscribe xml-dev your-subscribed-email@your-subscribed-address

Please note: New list subscriptions now closed in preparation for transfer to OASIS.



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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.