updated xmlparser example