You declared the "book" element to be in the "http:\\www.libary.com\book" namespace. Now you have to decide what you want. Do you want the "name" element to be in that namespace, or do you want it to be in no namespace?
You should answer this question rather than deciding based on what the XML document looks like, because you are designing a data structure here. So, what's the answer to that question?
Joined: Sep 01, 2006
got the issue .. need to add namespace to all child element .. xml file created successfully and also got imported into ms excel successfully