Mercurial > eldonilo > blog
comparison xml2json.js @ 2:eb5b6d3ab09b
Better import of ns and jid; fix email and missing ns.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 13 Jul 2011 13:11:54 +0200 |
parents | f62b5c395a48 |
children |
comparison
equal
deleted
inserted
replaced
1:82905edac9d8 | 2:eb5b6d3ab09b |
---|---|
1 /* This work is licensed under Creative Commons GNU LGPL License. | 1 /* This work is licensed under Creative Commons GNU LGPL License. |
2 | 2 |
3 License: http://creativecommons.org/licenses/LGPL/2.1/ | 3 License: http://creativecommons.org/licenses/LGPL/2.1/ |
4 Version: 0.9 | 4 Version: 0.9 |
5 Author: Stefan Goessner/2006 | 5 Author: Stefan Goessner/2006 |
6 Web: http://goessner.net/ | 6 Web: http://goessner.net/ |
7 */ | 7 */ |
8 var Element = function() { | 8 var Element = function() { |
9 this.getChildren = function(name, ns) { | 9 this.getChildren = function(name, ns) { |
10 var children = []; | 10 var children = []; |
11 var r = false; | 11 var r = false; |