On Sat, Mar 17, 2007 at 12:43:16AM -0400, MenTaLguY wrote:
> On Fri, 2007-03-16 at 10:28 -0700, MenTaLguY wrote:
> >   rssdoc.elements['/atom:feed/atom:[EMAIL PROTECTED]"alternate"]', { 'atom'
> > => "http://www.w3.org/2005/Atom"; }].attributes['href']
> 
> It looks like we must use XPath.first here.

What doe you mean, exactly?
Note that we should check that this approach works for 1.8.6 too.

> Paul, would you be interested in generating a patch?  I've got my hands
> pretty full lately.

Yes, I'll try to hack up something tomorrow... I made a quick fix for me
yesterday already, but that one is quite dirty: it does all the operations
as normally, only the initial document has the xmlns statement/attribute removed
and I add this at the very end. Not nice, but it works, sue me ;-)

Regards,
Paul

-- 
Student @ Eindhoven                         | email: [EMAIL PROTECTED]
University of Technology, The Netherlands   | JID: [EMAIL PROTECTED]
>>> Using the Power of Debian GNU/Linux <<< | GnuPG key ID: 0x50064181

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Hobix-is-the-way mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/hobix-is-the-way

Reply via email to