Cross-browser XML serialization component.