so I have this xml\[code\]<Item name="Alpha"> <Field name="CreationDateTime">2012-04-26</Field> <Field name="Material" readOnly="X"> Congress </Field></Item><Item name="Beta"> <Field name="CreationDateTime">2012-04-26</Field> <Field name="Material" readOnly="X"> Congress </Field><Item> \[/code\]And I want to wrap this inside a node like this using jQuery\[code\]<parent> <Item name="Alpha"> <Field name="CreationDateTime">2012-04-26</Field> <Field name="Material" readOnly="X"> Congress </Field></Item><Item name="Beta"> <Field name="CreationDateTime">2012-04-26</Field> <Field name="Material" readOnly="X"> Congress </Field><Item></parent>\[/code\]I tried \[code\]$(xml).wrap('<parent />')\[/code\] but it doesnt seem to be working for non html tags names! Likewise I tried combination of before() and append() too.Is there any way to quickly do it in jQuery without having to convert it into string. If thats the last option then how do I convert into string and do it?Thanks.