On 12/16/06, David Vallner <david / vallner.net> wrote:
> ruby talk wrote:
> > Ask:
> >
> > http://code.whytheluckystiff.net/hpricot/ticket/32
> >
> > text in xpath should return a text node if present. For example:
> > (doc/"/html/body/div[1]/*/table[0]/tr[0]/*/b[9]/text")
> >
>
> Well, it's 'text()' not 'text'. Luckily _why noticed.
>
> >        * lib/hpricot/elements.rb: added support for selecting text
> > nodes with text(): //p/text(), //p[a]//text(), etc.
>
> W00t ;P
>
> Thanks for pointing this out.
>
> David Vallner
>
> PS: Your email address name confuses the heck out of me. Please use
> something that doesn't cause a mental namespace clash?
>
>
>
>


Sorry, I have been archiving ruby talk at rubytalk / gmail.com since  10/14/04.

Stephen Becker IV