So I have a DOM document that looks essentially like this
<categories>
<category id="1"/>
<category id="2"/>
</categories>
This is how the document previews in Firebug, as I would expect.
However, when I POST this to the server, I get
<categories>
<CATEGORY id="1"/>
<CATEGORY id="2"/>
</categories>
Indeed, doc.documentElement.firstChild.nodeName returns "CATEGORY". The nodes are added using jQuery.append('<category/>').
Why are the child tags returned in all caps?