Microsoft
Software
Hardware
Network
Question : XmlDocument.Load(Stream) method is removing tabs between tags
Hi
I'm using the XmlDocument.Load(Stream) method to load a stream into a xml document. Now I've found out that the load method is "optimizing" the xml structure, i.e. it removes single tabs between tags, which is destroying my document. If the tab is followed by another character, the tab is not removed, but if there is only a tab and nothing more between two tags, it gets removed!
Example:
123
--- removes the tab between and
123
1
--- tab remains after loading
Is there a way to load a stream containing xml data into a xml document without losing the tabs?
Thank you!
Kind regards
Martin
Answer : XmlDocument.Load(Stream) method is removing tabs between tags
Hi,
Set the PreserveWhitespace flag to true before loading.
XmlDocument.PreserveWhites
pace = true;
/peter
Random Solutions
number of messages limit for account in Exchange 2007 using Outlook 2003
Can not find Install.wim on vista cd?
Sending Outlook Email From Access 2002
Access 2007 Error Message - "Setting for property too Long"
i need a program to send popup messages over my LAN network
Grouping Question
Access:subform starting on last record
Windows Mail on Vista to Outlook 2007 on Windows 7
Determine which table and columns a field is stored at the backend
What is the software that dell provides to monitor health of laptops and desktops from a central location.?