class DisallowAttributeSets extends TemplateCheck

Constants

XMLNS_XSL

XSL namespace

Methods

void
check(DOMElement $template, Tag $tag)

Test whether the template contains an

Details

at line 29
void check(DOMElement $template, Tag $tag)

Test whether the template contains an

Templates are checked outside of their stylesheet, which means we don't have access to the declarations and we can't easily test them. Attribute sets are fairly uncommon and there's little incentive to use them in small stylesheets

Parameters

DOMElement $template

node

Tag $tag

Tag this template belongs to

Return Value

void