I don't think so. It would be possible if VenGrp and VenTyp were attributes: you could then use conditional type assignment.
Are you really sure you want to be using xsi:nil anyway? I thought the general consensus was that it was a bad feature best forgotten.