protected function checkVariable(DOMNode $node, $tag, $qname)
	{
		// Test whether this variable comes from a previous xsl:param or xsl:variable element
		$this->checkVariableDeclaration($node, $tag, 'xsl:param[@name="' . $qname . '"]');
		$this->checkVariableDeclaration($node, $tag, 'xsl:variable[@name="' . $qname . '"]');
	}
protected function checkVariable(DOMNode $node, $tag, $qname)
	{
		// Test whether this variable comes from a previous xsl:param or xsl:variable element
		$this->checkVariableDeclaration($node, $tag, 'xsl:param[@name="' . $qname . '"]');
		$this->checkVariableDeclaration($node, $tag, 'xsl:variable[@name="' . $qname . '"]');
	}
protected function checkVariable ( DOMNode $ node , $ tag , $ qname ) { // Test whether this variable comes from a previous xsl:param or xsl:variable element $ this -> checkVariableDeclaration ( $ node , $ tag , 'xsl:param[@name="' . $ qname . '"]' ) ; $ this -> checkVariableDeclaration ( $ node , $ tag , 'xsl:variable[@name="' . $ qname . '"]' ) ; }
Check whether a variable is safe in context

@param  DOMNode $node  Context node
@param  Tag     $tag   Source tag
@param  string  $qname Name of the variable
@return void
Check whether a variable is safe in context