• I also don't see the trick, but even if "data" has been added properly it would (or should) still have given an error because "<a>1<c>3</c><d>4</d></a>" is not valid XML: <a> is obviously a complex element because it contains <c> and <d>, so it can't contain "1".