change dom to stax