handle alternative XML header