| Write code to remove Spaces in XML document in between different Nodes?
Below is the codes to remove the blanks spaces in between different nodes in XML document:-
XmlDocument xmlDocument = new XmlDocument();
xmlDocument.preserveWhitespace = false;
xmlDocument.load("test_document.xml"); | | |