Ticket #140 (new enhancement)

Opened 7 months ago

search() and at() inconsistencies

Reported by: jamieorc Owned by: why
Priority: major Milestone:
Component: lib/hpricot Version:
Keywords: Cc:

Description

seems inconsistent (and unexpected) that I can:

tei_header.search("fileDesc titleStmt").append("some string")

but I can't

tei_header.at("fileDesc titleStmt").append("some string")

I would expect to be able to append from at() as well as search() (and similar methods).

I brought this up on the list in late October 07, so I thought I'd make an official ticket.

--Jamie

Note: See TracTickets for help on using tickets.