- //for(auto val : *(this->tag_ids))
- //(*this->tag_names)[val.second] = val.first;
- for(val = this->tag_ids->begin(); val != this->tag_ids->end(); ++val)
- (*this->tag_names)[val->second] = val->first;
-
+ for(val = this->tag_ids->begin(); val != this->tag_ids->end(); ++val){
+ (*tag_names)[val->second] = val->first;
+ if (val->first.size() >= 3 &&
+ val->first[0] == '<' &&
+ val->first[1] == '@' &&
+ val->first[2] == '>'){
+ this->attribute_ids->insert(val->second);
+ };
+ }