Generate proc type criteria with proper xsd