Hello,
I have an element that usually contains alpha characters, but depending upon the user input can contain a single space. I'm using the DocumentBuilderFactory to create an instance of DocumentBuilder, and then generating DOM elements from that and serializing the output to a file. I'm seeing the resulting serialized file is simply an empty XML element. Is it possible to configure the DOM builder to preserve the spaces if they exist, or does this go against the XML spec? If so, can you help me understand how to make that happen? Thanks, Nicholas