I need to modify or create new php script to search XML DB.
The application searches the storage using HTTP API and returns the
results in HTML (parse xml document).
You will need to provide samples of query cleanup (escape harmful codes) and show cleaning in action. You must provide possible attack scenario and proof query has been cleaned.