xpath 获取表单的值 <input type="hidden" id="hospital_id" value="6666sui">$selector = "//*[@id='hospital_id']/@value";