Leonidas-from-XIV / node-xml2js

XML to JavaScript object converter.
MIT License
4.88k stars 602 forks source link

Syntax feels a bit awkward #1

Closed chrisnicola closed 13 years ago

chrisnicola commented 13 years ago

What is the purpose of the '#' and '@' syntax? Would it not be better to use a dot syntax like .text and .attr and especially .name? Does it serve some other purpose?

chrisnicola commented 13 years ago

Here is what I'm thinking: http://github.com/lucisferre/node-xml2js/commit/2f2048bf638fa19c3807acab752a485499ba8434

Leonidas-from-XIV commented 13 years ago

Your link gives me a 404, sorry. Apparently you already deleted your repo (I took over maintenance some time ago and had no time to investigate all issues). If you want to get in touch about this issue, please reopen this.