/** * A postprocessing routine for opt:use * @internal * @param Opt_Xml_Node $node * @param Opt_Xml_Attribute $attr */ public function postprocessAttribute(Opt_Xml_Node $node, Opt_Xml_Attribute $attr) { if (!is_null($attr->get('size'))) { $snippet = $attr->get('snippetObj'); unset($snippet[$attr->get('size')]); } // Restore the original escaping state $this->_compiler->set('escaping', $node->get('escaping')); array_pop($this->_current); }