PROPERTY:  Object::nodeTypedValue

This property is a Microsoft extension to the W3C DOM.

Object  Attr   CDATASection   CharacterData   Comment   Document   DocumentFragment   DocumentType   Entity   EntityReference   Node   Notation   ProcessingInstruction   Text
 
Object.nodeTypedValue

The nodeTypedValue property contains the value of this node expressed in its defined data type, if such a data type is defined. If the node has no content, it returns null. The value depends on the nodeType property. The four relevant node types are as follows (all the other types do not have data types, and so return a string that is the same as the nodeValue property):

  • NODE_ATTRIBUTE
    returns the value in the data representation of the type specified in the schema for the attribute. If no type was specified, it returns a string identical to the nodeValue property.
  • NODE_ELEMENT
    returns the value in the data representation of the type specified on the element instance, or in the schema. If no type was specified, it returns a string identical to the nodeValue property.
  • NODE_ENTITY_REFERENCE
    returns the value in the data representation of the type specified in the schema for the referenced entity, but only if it has a single data type on the root level element of the corresponding subtree. If no type was specified, it returns a string identical to the nodeValue property.
  • TEXT
    returns the value in the data representation of the type of the containing element. If that element was typed, it returns a string identical to the nodeValue property.


Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information