By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,529 Members | 864 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,529 IT Pros & Developers. It's quick & easy.

xml:space attribute preserver whitespace

P: n/a
I tried to attach a new node to the xml document.

Dim sonqattr As XmlAttribute = docxml.CreateAttribute("xml:space")
sonqattr.Value = "preserve"

However, I found that the xml: doesnot appear after I attached the childnode node successfully.
It only shows: space="preserve" as the attribute.
I would like to show xml:space="preserve"

IS there any one who had experiment with this?
Actually, I like to preserver the whitespace as I am adding the textboxes detail to the xml

Thanks for help.

Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.