THtmlNode() > Html Text methods |
Returns the textual content of an HTML node.
:getText( [<cCRLF>] ) --> cHtmlText
Method :getText() retrieves the textual content of this HTML node and all subnodes as text string without HTML tags. The text of sub-nodes is separated with <cCRLF>. The expetion are table cells (<td> tags) whose textual content is separated by Chr(9) (TAB).
The returned string may need to be passed to HtmlToAnsi() or HtmlToOem() in order to convert HTML character entities to regular ANSI or OEM characters (e.g. "&" may appear in the returned string which must be translated to "&").
http://www.xHarbour.com