Embedded stax library