title: Get the value for xmlns from NSXMLElement iOS sdk
body: <p>I am working on iOS application and i want to get the namespace of a nsxmlelement.</p>
  
  <p>my <strong>NSXMLElement *query</strong> has the following value in it.</p>
  
  <pre><code>&lt;query xmlns="jabber:iq:roster" test="this is value"&gt;
  &lt;item subscription="to" name="test" jid="test@local"/&gt;
  &lt;/query&gt;
  </code></pre>
  
  <p>I have used following code to get the xmlns but its not working </p>
  
  <pre><code>         NSLog(@"%@",[query attributeStringValueForName:@"test"]);
           NSLog(@"%@",[query attributeStringValueForName:@"xmlns"]);
  </code></pre>
  
  <p>Value for <strong>test</strong> is printed but the value for <strong>xmlns</strong> shows null</p>
  
  <p>Please let me know how to get the value of <strong>xmlns</strong></p>