update docs; parse XML headers