支持许多选项(见下文),你可以将这些选项作为第二个参数进行指定:parseString(xml, {trim: true}, function (err, result) {});实例方法如果你之前一直使用xml-simple