I would like to create the XML string with special characters handling. However it turned out to be too complicated and causing issues by generating wrong XML. Now i was thinking to build the string using some object from System.xml and then stringify() or get string from it. This will i guess help me from special character cases.I would like to create the XML string with spec