KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a XML node with a value which is a white space. Example: <sampleNode> </sampleNode> I am using a Serializer to get the data from XML document to store it in an object. Now, the problem I am facing is: If the XML node value contains nothing but a white space, as does the sample node above, the serializer interpretates it as a string.Empty. How can I overcome this? I need get the actual white space, i.e. " ". Thanks a bunch!
Tags (comma-separated)
Save Edits
Cancel