Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Returns the definition of the node in the DTD or schema.
Syntax
HRESULT get_definition( IXMLDOMNode ** definitionNode);
Parameters
- definitionNode
- [out] Node that contains the definition for the entity referenced.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This value depends on the value of the nodeType property:
- NODE_ENTITY_REFERENCE
Returns the node for the entity referenced. For nonresolved entities, returns NULL.
- NODE_ATTRIBUTE
,- NODE_CDATA_SECTION
,- NODE_COMMENT
,- NODE_DOCUMENT
,- NODE_DOCUMENT_FRAGMENT
,- NODE_DOCUMENT_TYPE
,- NODE_ELEMENT
,- NODE_ENTITY
,- NODE_NOTATION
,- NODE_PROCESSING_INSTRUCTION
,- NODE_TEXT
Returns NULL. Returns the node in the document type definition (DTD) or schema that contains the definition for this node. For example, the definition property for an element node called "elementname" contains the node corresponding to the definition <!ELEMENT elementname...> in the DTD.
See Also
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.