creates xpath for a given xml/xsd file and validates xsd