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

XPath parsing or Extending MSXML

Subject: XPath parsing or Extending MSXML
From: "Marcus Andersson" <marcan@xxxxxxx>
Date: Fri, 13 Jun 2003 18:25:08 +0200
xpath parsing
Hello

I have come to the point where I have to add some functionality to MSXML4 (in javascript) and it's capabilities to do XPath queries. The MSXML4 parser can only return nodesets or single nodes when you give it some XPath expression. I need the possibility to use the sum, count (and other functions) to get integer, string and boolean values as well. The only solution I have come up with is to parse the XPath expression and build some object tree that I execute against the MSXML parser.  So my question is: Is there any state diagram (I want to base the parser on it) publicly available for XPath or is the only solution to build this diagram to go through the spec?

If anyone has another solution (ie not evaluate with a state machine based parser) I will be more than happy to hear of it...

/Marcus

ps. I have thought of using XSLT to do this but I don't want to invoke the processor for every little calculation ds.

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


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.