I just wrote a program that lets you full-text search the O'Reilly and Pearson titles on Safari.
You can't get full text of the books without subscribing to Safari, of course, but even if you don't have a Safari subscription it's a useful way to find out which section of which book in your O'Reilly wall you should be consulting.
I think there are fancier ways that you can search too, but I haven't figured them out.
It doesn't require LWP (I stole the basic HTTP code from LWP) or an XML parser, even though it "parses" XML and interacts with the Safari HTTP server.
Enjoy!
--Nat