From http://www.w3schools.com (Copyright Refsnes Data)
Complete Attr Object Reference
The specified property returns true if the attribute value is set in the document, and false if it's a default value in a DTD/Schema.
| attrObject.specified |
The following code fragment loads "books.xml" into xmlDoc using loadXMLDoc() and displays the name and value of the category attribute:
Example
Output:
Try it yourself » |
Complete Attr Object Reference
From http://www.w3schools.com (Copyright Refsnes Data)