Concept Framework 2.0 documentation Contents | Index

standard.lib.xml.htmlElementAllowedHere

Name Version Deprecated
htmlElementAllowedHere version 1.0 no

Prototype:
boolean htmlElementAllowedHere(number parent, string elt)

Parameters:
parent      HTML parent element
elt      the HTML element

Description:
Checks whether an HTML element may be a direct child of a parent element.

Note - doesn't check for deprecated elements.

Returns:
Returns true if allowed, false if not.

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