how to append the following data in a xml tag to get xml file as output?
<pre><code>{
    "attrs": {
        "width": 578,
        "height": 200
    },
    "nodeType": "Stage",
    "children": [
        {
            "attrs": {},
            "nodeType": "Layer",
            "children": [
                {
                    "attrs": {
                        "x": 289,
                        "y": 100,
                        "sides": 6,
                        "radius": 70,
                        "fill": "red",
                        "stroke": "black",
                        "strokeWidth": 4
                    },
                    "nodeType": "Shape",
                    "shapeType": "RegularPolygon"
                }
            ]
        }
    ]
}
</code></pre>

<p>I have parsed the above json data but i dont know how to append the data to xml tag.thanks for any help.I want the xml tags with exact parent and child nodes using jquery.</p>
