Please explain XPATH "Require XML element in XSD when another element has certain value?"
Posted: Fri Feb 16, 2018 6:39 pm
Hi all,
on https://stackoverflow.com/questions/370 ... tain-value
I found an example for
"Require XML element in XSD when another element has certain value?"
In the solution is the XPATH:
Could anybody please explain this? Why gets IBAN mandatory when TYPE = 'INTERNATIONAL'?
Many thanks
Regards
Mario
on https://stackoverflow.com/questions/370 ... tain-value
I found an example for
"Require XML element in XSD when another element has certain value?"
In the solution is the XPATH:
Code: Select all
<xs:assert test="not(TYPE = 'INTERNATIONAL') or IBAN"/>
Many thanks
Regards
Mario