string tag_name()
Gives the name of the current tag, or zero. If used from an entity callback, it gives the string inside the entity.