AddChildComment - cXMLDOMDocument

Encapsulates creation and addition of comments to a node

Type: Procedure

Parameters: String sValue

sValueThe comment text

Procedure AddChildComment String sValue

Call: Send AddChildComment sValue


AddChildComment encapsulates creation and addition of comments to a node. This procedure adds the node but does not return an object. Only elements usually have children (which is why there is also an AddElement function).


Send AddChildComment of hoTable ("Add  all records for "+sFile)

This sample creats a child comment for an element, using an interface that created the node but did not create a new DataFlex object (which is why a handle is not returned).

Note:If for any reason the node cannot be added to the document, an error will be generated.