support optional values in xml-header