= 0) {
ns = tagName.substring(0, tagName.indexOf(':'));
tagName = tagName.substring(tagName.indexOf(':') + 1);
}
if (tagName)
if (tagName != 'textNode') {
if (!subs[tagName])
subs[tagName] = XMLJSONP]]>= 0) {
ns = key.substring(0, key.indexOf(':'));
key = key.substring(key.indexOf(':') + 1);
}
if (parseInt(value).toString() == value)
output[key] = parseInt(value);
else if (value == 'true')
output[key] = true;
else if (value == 'false')
output[key] = false;
else
output[key] = value;
if (ns)
output[key]._namespace = ns;
}
}
if (input.each)
input.each(restructure);
else
Properties.forEachOwn(input, restructure);
return output;
}
});]]>