Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Indicates whether the node (usually an attribute) is explicitly specified or derived from a default value in the DTD or schema.
Syntax
boolValue = oXMLDOMNode.specified
Remarks
Boolean. The property is read-only. Returns true if the attribute is explicitly specified in the element. Returns false if the attribute value comes from the DTD (document type definition) or schema.
This value depends on the value of the nodeType property:
- NODE_ATTRIBUTE
Returns true if the attribute was specified directly on the element. Returns false for default attributes.
- NODE_CDATA_SECTION
,- NODE_COMMENT
,- NODE_DOCUMENT
,- NODE_DOCUMENT_FRAGMENT
,- NODE_DOCUMENT_TYPE
,- NODE_ELEMENT
,- NODE_ENTITY
,- NODE_ENTITY_REFERENCE
,- NODE_NOTATION
,- NODE_PROCESSING_INSTRUCTION
,- NODE_TEXT
Returns true.
Applies To
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.