Friday, November 05, 2010

get Xpath of html element

在Firefox中有二个非常有用的插件,可以直接得到HTML页面中元素的XPath:

XPath Checker - suggests XPath and can be used to test XPath results.
Firebug - XPath suggestions are just one of the many powerful features of this very useful add-on.

XPath的参考资料:

W3Schools XPath Tutorial
W3C XPath Recommendation
XPath Tutorial - with interactive examples

No comments :