New to XML Schemas
Im new to schemas and I have to update an existing one.
Basically I have two xml elements to test that they are of string value (which is already completed), but I need a clause in here now to say if one of the fields is blank and the other not then allow it through the schema, if both fields are blank fail to go through the schema.
Any help greatly received
Well, there is the minLength restriction:
Sounds like a co-occurrence constraint, not doable in XML Schema 1.0, but doable in 1.1 or Schematron, or RelaxNG.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)