ruby script to test xml parse and xapian match