implemented xml parser for WaitBrick