Click the button to see if the price element has a currency attribute
The xml file used in the example: booksnamespace.xml
Note: The hasAttributeNS method is not supported in Internet Explorer.