Use of GetNodeTypedValue() method to get a value of specific datat

From: Praveen Krishnan (
Date: 01/07/05

Date: Fri, 7 Jan 2005 05:59:03 -0800

I have an XML file and an XSD file for validating it. When i use
getNodeTypeValue() to get an integer from an element( the restriction being
specified in the Schema file) i get it only as VT_BSTR type. Only when i set
the dt:dt attribute for the element do i get the correct datatype. This is
not my requirement.. i need to do the datatype validation while getting and
putting the value using the schema file. How can i achieve this????