34 include_once
'Services/MetaData/classes/class.ilMDSaxParser.php';
35 include_once
'Services/MetaData/classes/class.ilMD.php';
55 xml_set_object($a_xml_parser,$this);
56 xml_set_element_handler($a_xml_parser,
'handlerBeginTag',
'handlerEndTag');
57 xml_set_character_data_handler($a_xml_parser,
'handlerCharacterData');
62 if($this->in_meta_data and !$this->
__inFilter($a_name))
72 $this->in_meta_data =
true;
78 $this->md_ide =& $par->addIdentifier();
79 $this->md_ide->setCatalog($a_attribs[
'Catalog']);
80 $this->md_ide->setEntry(
'il__'.$this->md->getObjType().
'_'.$this->md->getObjId());
81 $this->md_ide->save();
89 if($this->in_meta_data and !$this->
__inFilter($a_name))
104 $this->in_meta_data =
false;
113 if($this->in_meta_data)
126 $this->filter[] =
'Identifier';
135 return in_array($a_tag_name,$this->filter);