<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: XPath Bookmark Bookmarklet</title>
	<atom:link href="http://antimatter15.com/wp/2009/11/xpath-bookmark-bookmarklet/feed/" rel="self" type="application/rss+xml" />
	<link>http://antimatter15.com/wp/2009/11/xpath-bookmark-bookmarklet/</link>
	<description>this title probably isn&#039;t very original</description>
	<lastBuildDate>Mon, 20 May 2013 15:26:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: luben</title>
		<link>http://antimatter15.com/wp/2009/11/xpath-bookmark-bookmarklet/comment-page-1/#comment-15967</link>
		<dc:creator>luben</dc:creator>
		<pubDate>Thu, 14 Oct 2010 10:39:03 +0000</pubDate>
		<guid isPermaLink="false">http://antimatter15.com/wp/?p=875#comment-15967</guid>
		<description><![CDATA[Nice (and useful) bookmarklet but, once you have the url updated, how do you use it?
(I can&#039;t use it as a valid link)
Thk you]]></description>
		<content:encoded><![CDATA[<p>Nice (and useful) bookmarklet but, once you have the url updated, how do you use it?<br />
(I can&#8217;t use it as a valid link)<br />
Thk you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://antimatter15.com/wp/2009/11/xpath-bookmark-bookmarklet/comment-page-1/#comment-15900</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 19 May 2010 05:46:28 +0000</pubDate>
		<guid isPermaLink="false">http://antimatter15.com/wp/?p=875#comment-15900</guid>
		<description><![CDATA[I came across your script, and converted it to a jQuery plugin for a specific need that I had. Here&#039;s the script:

(function($){$.fn.xpath=function(){ var el=this;for(var e=&quot;&quot;,c=$_(el)[0];c&amp;&amp;c.nodeType==1;c=c.parentNode){var b=$_(c.parentNode).children(c.tagName).index(c)+1;b&gt;1?(b=&quot;[&quot;+b+&quot;]&quot;):(b=&quot;&quot;);e=&quot;/&quot;+c.tagName.toLowerCase()+b+e;}return e;};})(jQuery);

Using this, I can reference the xPath of any element on a page by calling $(&quot;#SomeElement&quot;).xpath();

Thanks :)]]></description>
		<content:encoded><![CDATA[<p>I came across your script, and converted it to a jQuery plugin for a specific need that I had. Here&#8217;s the script:</p>
<p>(function($){$.fn.xpath=function(){ var el=this;for(var e=&#8221;",c=$_(el)[0];c&amp;&amp;c.nodeType==1;c=c.parentNode){var b=$_(c.parentNode).children(c.tagName).index(c)+1;b&gt;1?(b=&#8221;["+b+"]&#8220;):(b=&#8221;");e=&#8221;/&#8221;+c.tagName.toLowerCase()+b+e;}return e;};})(jQuery);</p>
<p>Using this, I can reference the xPath of any element on a page by calling $(&#8220;#SomeElement&#8221;).xpath();</p>
<p>Thanks <img src='http://antimatter15.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
