列车车次信息解析实例publicvoidTraincodeJXTrainDetail(){DocumentBuilderFactoryfactory=DocumentBuilderFactory.newInstance();DocumentBuilderbuilder;try{builder=factory.newDocumentBuilder();Documentdoc;try{doc=builder.parse(newFile("C:\\fbw\\2014_15_I\\getDetailInfoByTrainCode.xml"));//经过的车站,