I tried creating new tags using jQuery and appending using $("<div></div>")
.
But I want to create some XML elements which are orphan tags (which has no ending tags).
When I tried to create such tags, using
$("<column/>")
It is creating
<column></column>
and I am expecting <column />
.
How can I do this without any jQuery plugin? I am adding some attributes for it after creating that element.