DOMIT! v 0.2 Tutorial
<<    index    >>
1    2    3    4    5    6    7    8    9    10    11    12    13    14    15    16    17   
18    19    20    21    22    23    24    25    26    27    28    29    30    31   
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 ThompsonMockTudor":

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


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