Programmer's Guide > Interfaces > W3C NodeEditVAL interface > nodeValidity method
  
nodeValidity method
Determines if the node is valid relative to the validation type specified in valType. This operation doesn't normalize before checking if it is valid. To do so, one would need to explicitly call a normalize method. The difference between this method and the DocumentEditVAL.validateDocument method is that the latter method only checks to determine whether the entire document is valid.
nodeValidity(valType )
Parameters
unsigned shortvalType
Flag to indicate the validation type checking to be done.
Returns
unsigned short. A validation state constant.