I want to specify that either fieldname or freetext must always be present in XML files that apply to this XSD. Is there a way to do that?
fieldname
freetext
So, you want either fieldname or freetext and not both? or maybe both? and then dbtablename optionally?
dbtablename
Here is 1 or 2 of the elements:
Is this what you want? or did you want dbtablename to be separate?