int START_DOCUMENT=0;
int END_DOCUMENT=1;
int START_TAG=2;
int END_TAG=3;
int TEXT=4;