public function normalize(DOMElement $template)
	{
		$this->ownerDocument = $template->ownerDocument;
		$this->xpath         = new DOMXPath($this->ownerDocument);
		foreach ($this->getNodes() as $node)
		{
			$this->normalizeNode($node);
		}
		$this->reset();
	}
public function normalize(DOMElement $template)
	{
		$this->ownerDocument = $template->ownerDocument;
		$this->xpath         = new DOMXPath($this->ownerDocument);
		foreach ($this->getNodes() as $node)
		{
			$this->normalizeNode($node);
		}
		$this->reset();
	}
public function normalize ( DOMElement $ template ) { $ this -> ownerDocument = $ template -> ownerDocument ; $ this -> xpath = new DOMXPath ( $ this -> ownerDocument ) ; foreach ( $ this -> getNodes ( ) as $ node ) { $ this -> normalizeNode ( $ node ) ; } $ this -> reset ( ) ; }
Apply this normalization rule to given template

@param  DOMElement $template <xsl:template/> node
@return void
Apply this normalization rule to given template