<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>&lt;blockquote&gt;So . seems equal to text()?&lt;/blockquote&gt;I don't know much about XPath, but see &lt;a href=&quot;http://en.wikipedia.org/wiki/XPath#Axis_specifiers&quot;&gt;here&lt;/a&gt; for details on what the dot refers to.

&lt;blockquote&gt;How would I match href attributes, or src attributes?&lt;/blockquote&gt;You can see also in the link I posted about these, eg. &lt;code&gt;//a[@src=&quot;foo.jpg&quot;]&lt;/code&gt;.

&lt;blockquote&gt;And actually use a regular expression?&lt;/blockquote&gt;I don't know about this; this is why I've not replied to the topic you created. Try googling it?</body>
  <body-html>&lt;p&gt;&lt;blockquote&gt;So . seems equal to text()?&lt;/blockquote&gt;I don't know much about XPath, but see &lt;a href=&quot;http://en.wikipedia.org/wiki/XPath#Axis_specifiers&quot;&gt;here&lt;/a&gt; for details on what the dot refers to.&lt;/p&gt;

&lt;p&gt;&lt;blockquote&gt;How would I match href attributes, or src attributes?&lt;/blockquote&gt;You can see also in the link I posted about these, eg. &lt;code&gt;//a[@src=&quot;foo.jpg&quot;]&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;blockquote&gt;And actually use a regular expression?&lt;/blockquote&gt;I don't know about this; this is why I've not replied to the topic you created. Try googling it?&lt;/p&gt;</body-html>
  <created-at type="datetime">2008-04-30T08:24:38Z</created-at>
  <forumable-id type="integer">2</forumable-id>
  <forumable-type>Forum</forumable-type>
  <id type="integer">8741</id>
  <topic-id type="integer">2256</topic-id>
  <updated-at type="datetime">2008-04-30T08:24:38Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">22480</user-id>
</post>
