From: Michael Schuerig Date: 2002-03-18T02:39:19+09:00 Subject: Re: XPath Tobias Reif wrote: > Michael Schuerig catalogs books, and asked for help: [and Tobi mostly solved my problem] Wow! Thanks! Still another question: Is it necessary (with the current REXML) to iterate over the OLD_TREE explicitly in Ruby? My original idea was to build an XPath expression that does this implicitly. My idea was something like this XPath.first(OLD_TREE,"//entry[title=\"#{title}\" and year=\"#{year}\"]") When I played around with this (before I posted here) I always got error messages. Have to try again. Michael -- Michael Schuerig GPG Fingerprint mailto:schuerig@acm.org DA28 7DEB 5856 3365 BED9 http://www.schuerig.de/michael/ 8365 0A30 545A 82D2 05D7