fixed xmlstarlet different binary names across different platforms: xml || xmlstarlet. fixed get_prefix problem on different routes some being blocked.