Specifies that the parser produced by this factory will provide support for XML namespaces. By default the value of this is set to false.
Parameters: awareness - true if the parser produced by this code will provide support for XML namespaces; false otherwise.
1. Create a new Instance of XmlPullParserFactory named myXmlPullParserFactory.
2. In the MainActivity.java file, add the below line to the onCreate method. This indicates that myXmlPullParserFactory will provide support for XML namespaces.
3. Compile and run!
Resources:
http://developer.android.com/reference/org/xmlpull/v1/XmlPullParserFactory.html#setNamespaceAware(boolean)