Home | History | Annotate | Download | only in libxml2

Lines Matching refs:elt

6270  * @elt: HTML element
6278 htmlElementAllowedHere(const htmlElemDesc* parent, const xmlChar* elt) {
6281 if ( ! elt || ! parent || ! parent->subelts )
6285 if ( !xmlStrcmp((const xmlChar *)*p, elt) )
6293 * @elt: HTML element
6301 htmlElementStatusHere(const htmlElemDesc* parent, const htmlElemDesc* elt) {
6302 if ( ! parent || ! elt )
6304 if ( ! htmlElementAllowedHere(parent, (const xmlChar*) elt->name ) )
6307 return ( elt->dtd == 0 ) ? HTML_VALID : HTML_DEPRECATED ;
6311 * @elt: HTML element
6321 htmlAttrAllowed(const htmlElemDesc* elt, const xmlChar* attr, int legacy) {
6324 if ( !elt || ! attr )
6327 if ( elt->attrs_req )
6328 for ( p = elt->attrs_req; *p; ++p)
6332 if ( elt->attrs_opt )
6333 for ( p = elt->attrs_opt; *p; ++p)
6337 if ( legacy && elt->attrs_depr )
6338 for ( p = elt->attrs_depr; *p; ++p)