34 include_once
'Services/MetaData/classes/class.ilMDSaxParser.php';
54 xml_set_object($a_xml_parser,$this);
55 xml_set_element_handler($a_xml_parser,
'handlerBeginTag',
'handlerEndTag');
56 xml_set_character_data_handler($a_xml_parser,
'handlerCharacterData');
61 if($this->in_meta_data and !$this->
__inFilter($a_name))
71 $this->in_meta_data =
true;
77 $this->md_ide =& $par->addIdentifier();
78 $this->md_ide->setCatalog($a_attribs[
'Catalog']);
79 $this->md_ide->setEntry(
'il__'.$this->md->getObjType().
'_'.$this->md->getObjId());
80 $this->md_ide->save();
88 if($this->in_meta_data and !$this->
__inFilter($a_name))
103 $this->in_meta_data =
false;
112 if($this->in_meta_data)
125 $this->filter[] =
'Identifier';
134 return in_array($a_tag_name,$this->filter);