getText

The getText method of a DOMIT_Document returns the text contained in all DOMIT_TextNodes and DOMIT_CDataSections that are children of the specified starting node.

The following example returns the string "Richard ThompsonMock Tudor":

$text =& $cdCollection->documentElement->childNodes[1]->getText();


Documentation generated by ClassyDoc, using the DOMIT! and SAXY parsers.
Please visit Engage Interactive to download free copies.