Gets the value of a single attribute, if specified for the document as a whole.
this |
a pointer to the Document object on which to operate. |
attribute |
a string indicating the name of a specific attribute. |
a string corresponding to the value of the specified attribute, or an empty string if the attribute is unspecified for the object. |