class DisallowElementNS extends TemplateCheck

Constants

XMLNS_XSL

XSL namespace

Properties

string $elName
string $namespaceURI

Methods

void
check(DOMElement $template, Tag $tag)

Test for the presence of an element of given name in given namespace

__construct(string $namespaceURI, string $elName)

Constructor

Details

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

Test for the presence of an element of given name in given namespace

Parameters

DOMElement $template

node

Tag $tag

Tag this template belongs to

Return Value

void

at line 33
__construct(string $namespaceURI, string $elName)

Constructor

Parameters

string $namespaceURI

Namespace URI of the disallowed element

string $elName

Local name of the disallowed element