#include "xmlprint.h"
This struct contains pointer to top tag as a xmlprintTag. Also this struct contain how many spaces are in current tag. Each new tag adds two (2) spaces. Returning from child tag to parent tag removes two (2) spaces. This struct is required for almost every function which uses XMLPrint.
Tags are used like a stack buffer. New tag is added to the top of all tags. Removing tag makes the top one out of stack.