xml2js: how is the output?

后端 未结 6 753
暗喜
暗喜 2020-12-28 14:36

I m trying to use the node.js module xml2js

My code is quite simple:

function testparse(pathname, callback) {
    var parser = require(\'xml2js\').Pa         


        
6条回答
  •  北荒
    北荒 (楼主)
    2020-12-28 15:09

    You might want to try console.log(util.inspect(result, false, null)), which should display the whole result.

提交回复
热议问题