soldair/node-jsontoxml

'name' attribute

yocontra opened this issue · 2 comments

Doing something like

app.packs.pack = name: pack.name, required: 'yes', preselected: 'yes', id: pack.name, file: {src: dirs.temp, targetdir: '$INSTALL_PATH', override: 'asktrue'}

jsxml.obj_to_xml(app) = <packs/>

when it should be more like <packs><pack name="whatever" blahblahblah /></packs>

I'm assuming it has something to do with the name attribute (since it's meant to be used elsewhere)

Agh nevermind I fixed it, seems I was just using something wrong. Closing this now

Cool well let me know if you find any issues :)