Tim Kadlec 2/12/2008

XPath in Javascript: Introduction

Read Original

This article introduces XPath in JavaScript, explaining its use for selecting nodes in XML/HTML documents. It covers XPath node types, location paths, and the document.evaluate() method, noting browser support in Firefox, Safari, and Opera, but not IE. It's the start of a multi-part series on leveraging XPath for efficient DOM traversal.

XPath in Javascript: Introduction

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week