Finally as @Frédéric Hamidi said, to make case sensitive xml I used these functions:
var domA = $.parseXML("").documentElement; to create element
$(domA ).append($.parseXML('').documentElement); to add child from string
$(domA).append(domB) or domA.appendChild(domB) to add child object