To add attributes to an XML tag, place them inside a $ key in your JSON.
$
Use the _ key for text content when the element also needs attributes or children.
_
Cleared
Copied