Hi,
I have the following xml
<book>
<chapter>this is a sample text</chapter>
</book>
and need to add a namespace to it to be like the one below
<ns0:book xmlns:ns0="http://mybookurl/sample">
<chapter>this is a sample text</chapter>
</ns0:book>
I tried Greco suggestions but it does not work. http://stackoverflow.com/questions/443250/creating-a-specific-xml-document-using-namespaces-in-c
would appreciate any help!
Thanks