shorten a XPATH expression (or-junction)
Posted: Wed Feb 14, 2018 3:33 pm
Hi all,
is there a way to write to expression
in a shorter way like e.g. (the following is not working, as also Z99 would be valid and I don't no why?)
Thanks
Regards
Mario
is there a way to write to expression
Code: Select all
<xsd:assert test="(G_SG8/G_SG10/S_CCI[D_7059='Z01']/D_4051='Z30') or (G_SG8/G_SG10/S_CCI[D_7059='Z01']/D_4051='Z31') " />
Code: Select all
<xsd:assert test="G_SG8/G_SG10/S_CCI[D_7059='Z01']/D_4051='Z30' or 'Z31' " />
Thanks
Regards
Mario