Saved search

Fixed xml generation and added specs. Removed xml_simple.