Validate User Input To Be Used In Xpath Expression