On Jan 28, 2009, at 6:43 AM, Neil Craig wrote:
Earlier version of jQuery allowed one to search for elements using
XPath, but after the implementation of the Sizzler selector engine,
the XPath support was lost, or so it seems.
Any comments?
Hi Neil,
You're right that 1.3.x removed support for the [...@attr] syntax, but it
had been deprecated already for a long time. Using [attr] will achieve
the same thing.
As of jQuery 1.2 (released Sept. 24, 2007), basic XPath such as
location path expressions, was removed. There is an XPath
compatibility plugin for those expressions at http://plugins.jquery.com/project/xpath/
. Is that no longer working for you?
--Karl
____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com