N
nassim.bouayad.agha
Hello,
I am seeking for information about conditional XSD validation based on
elements values,but unfortunatly,I could not find a clear answer.Let's
say that I have three XML elements named GROUP,SUB_GROUP and VALUE.How
to validate the VALUE element depending on GROUP and SUB_GROUP values?
Like if GROUP equals 3 and SUB_GROUP equals 4 then VALUE must be a
string enumeration...
Is it possible to perform that with XSD?I have seen some example using
schemapath (XPath conditions),but that does not seem to be
normalized...?!
Thank you in advance.
Regards.
Nassim
I am seeking for information about conditional XSD validation based on
elements values,but unfortunatly,I could not find a clear answer.Let's
say that I have three XML elements named GROUP,SUB_GROUP and VALUE.How
to validate the VALUE element depending on GROUP and SUB_GROUP values?
Like if GROUP equals 3 and SUB_GROUP equals 4 then VALUE must be a
string enumeration...
Is it possible to perform that with XSD?I have seen some example using
schemapath (XPath conditions),but that does not seem to be
normalized...?!
Thank you in advance.
Regards.
Nassim