Jun
6th

Xpath support in JavaScript

I’ve designed and released a couple of Yahoo! Widgets for my work that utilize our API to return tracking data. A friend of mine, Bill, designed a great prototype and I kept adding on from there. One of the nice coding features of Yahoo! “Widgetry” is it’s support for Xpath. Interestingly enough, Xpath is not natively supported in JavaScript. That said, another friend of mine, Dale, found a nice little gem that is included with Adobe’s Spry Framework for Ajax. Included in the standard download is an Xpath include for Javascript (XPath.js). More interesting is the fact that the include file is actually written by Google with a copyright date for 2005. Weird - but a fantastic catch! What a great little script to have handy when working with XML.

RSS feed | Trackback URI

Comments »

No comments yet.

Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

My Comment Policy: I moderate comments. Please be patient:

  • Spam will happily be destroyed.
  • Use your real name, not some keywords. Otherwise it will be destroyed.
  • Mean comments aren't necessary. If I don't post them I will reply personally to let you know why.
  • Lewd comments will be edited, I don't want my readers leaving because of offensive content.
Great debate, criticism and colorful commentary is always appreciated and approved!