You should read the XML Namespaces spec.
xmlns:tns1="http://DefaultNamespace" means "In the scope of this element, that is, the element, its descendants and contained attributes, unless overridden somewhere in that scope, the prefix tns1 used in an element or attribute name refers to the namespace 'http://DefaultNamespace'".
It only affects elements and attributes that use the tns1 prefix in their names. In the particular document we're discussing, there are no such elements and attributes. In particular, it does not affect the in0 element.
Jeff
babloosony wrote:
Jeff -
Ok, then can you please tell me how can I get this <tns1:in0 xmlns:tns1="http://DefaultNamespace"> instead of <in0>
Also, I dont understand why you say that <in0 xmlns:tns1="http://DefaultNamespace"> does not make sense. Can you please clarify since I can use such element generated by AXIS Client using my AXIS Server.
- Kumar.
