wallet-core/node_modules/xml2js/83.coffee

7 lines
228 B
CoffeeScript
Raw Normal View History

2016-11-03 01:33:53 +01:00
xml2js = require 'xml2js'
util = require 'util'
body = '<sample><chartest desc="Test for CHARs">Character data here!</chartest></sample>'
xml2js.parseString body, (err, result) ->
console.log util.inspect result, false, null