Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

PabloMayrgundter

Member since
PabloMayrgundter

Recent Docs Activity

View all activity
Page Date Comment

JXON


Small fix in the final code listing. x.hasAttributes() not defined, so x.attributes ? true : false;

JXON


The final script was broken in two ways: 1) it didn't transfer namespaced xml sub-nodes to the JSON object, 2) it lower-cased tag names. I fixed both of these and now it works.