Skip to content

NodeClassId - cXMLDOMDocument

Returns the classId for the passed iType

Type: Function
Return Data Type: Integer

Parameters

Parameter Type Description
iType Integer the type of node

Syntax

Function NodeClassId Integer iType Returns Integer

Call Example

Get NodeClassId iType to IntegerVariable

Description

NodeClassId returns the classId for the passed iType. This is an advanced use method.

Whenever an XML node needs to be created the object will send the message NodeClassId to the document object passing the nodetype that needs to be created. This function returns the DataFlex class id that is used to create the class. By default, these are the standard cXmlDom... classes. You can augment this method and use it to return custom sub-classes.

Return Value

Returns the classId for the passed iType