for attribute we will be using use
but what about xs:element minoccurs is the only way ?
In short, yes. That is the only way.