Click the button above to see if the author element has a nationality attribute
Click the button below add a nationality attribute
Click the "Try it" button again, to see if the attribute is present
The xml file used in the example: booksnamespace.xml
Note: The setAttributeNS method is not supported in Internet Explorer.