more work on XalToXmlNext.
Changed xAL attributes Map to Option[Map]