Concept Framework 2.0 documentation Contents | Index

standard.lib.xml.htmlNodeStatus

Name Version Deprecated
htmlNodeStatus version 1.0 no

Prototype:
number htmlNodeStatus(number node, number legacy)

Parameters:
node      a node handle in a tree
legacy      whether to allow deprecated elements (YES is faster here for Element nodes)

Description:
Checks whether the tree node is valid. Experimental (the author only uses the HTML enhancements in a SAX parser).

Returns:
For Element nodes, a return from htmlElementAllowedHere (if legacy allowed) or htmlElementStatusHere (otherwise). for Attribute nodes, a return from htmlAttrAllowed for other nodes, HTML_NA (no checks performed)

Documented by Eduard Suica by adapting from http://xmlsoft.org/, generation time: Fri Jan 21 18:06:23 2011 GMT(c)2011 RadGs Software