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

add namespace to elements ?

P: n/a
Hi,

in XML.NET : is there an easy way to provide all elements in an xml-document of a namespace-prefix.

Example of source file :
<book>
<title>Alaska</title>
</book>

convert to :

<bk:book xmlns:bk="http://localhost/mybooks">
<bk:title>Alaska</bk:title>
</bk:book>

can this be done using XmlDocument or another class ?
thanks
Chris

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
Nov 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.