Minoccurs, maxoccurs, mb in exporter. closes #28 . Closes #50.