Populate the hzDocHtml object with HTML source code in the supplied chain. Two scenarios are permitted - Full or Partial as follows:- 1) Full: If the HTML source has the <html> as its first tag it will be considered as a full page and tested as such. It will be expected to have the standard sub-tags of <head> and <body> and thier corresponding anti-tags. If either of these are missing or in error (malformed or containing unxpected or malformed tags) the HTML source code is deemed to be syntactically in error and the load fails. 2) Partial: If the opening tag of the HTML source code is not the <html> tag it is viable only if it would be viable as a HTML fragment that could be seemlessly inserted into the <body> part of a whole HTML page. This is to say that all it's tags must be legal sub-tags of <body> and not of <head> and nor must the <body> or <head> tag or anti-tag be present. In either case, tags are loaded into a tree of nodes (tags). The nodes/tags may be searched for and examined. Note: Unlike XML where tags are named so that content in the tree can be searched directly, the nodes in HTML are not named named and so cannot be definitely referenced (they only have type). Some other process must apply application specific criteria to read meaning into the data.
| Return Type | Function name | Arguments |
|---|---|---|
| hzEcode | hzDocHtml::Load | (hzChain&,) |
Declared in file: hzDocument.h
Defined in file : hzDocHtml.cpp
Function Logic: