From: Michael Schuerig Date: 2002-03-17T20:58:55+09:00 Subject: Re: XPath Tobias Reif wrote: > Michael Schuerig wrote: > > >> Read in both versions of the file >> For each "dubious" entry in the current file >> Find a corresponding (based on title and year) entry >> in the original file >> Fix the current entry >> Dump a fixed file > > > Perhaps you want to post tiny representative fragments. Sure. Old: Thomas, David; Hunt, Andrew english Addison-Wesley Programming Ruby. The Pragmatic Programmer's Guide 2000 Current (broken, authors missing): english Addison-Wesley Programming Ruby. The Pragmatic Programmer's Guide Book 2000 What I want (in the next step): Thomas, David Hunt, Andrew english Addison-Wesley Programming Ruby. The Pragmatic Programmer's Guide Book 2000 I've considered munging the entries to DocBook bibliographic format; but so far I'm not convinced it's worth the effort (apart from getting more practice with XSLT and possibly Ruby XML tools). Thanks Michael -- Michael Schuerig GPG Fingerprint mailto:schuerig@acm.org DA28 7DEB 5856 3365 BED9 http://www.schuerig.de/michael/ 8365 0A30 545A 82D2 05D7