12-21-04 07:50 AM
Hi, All!
Is there any way to set the xsi:nil attribut to false in the Expression box?
Now I use the following XPath expression to achieve the result:
xpath(myMessage,
"/*[local-name()='PCOrder']/*[local-name()='DT']/*[local-name()=
'Closing']/@*[local-name()='nil']") = false;
It looks a bit ugly to me. Besides if the xsi:nil attibut is not explicitly
present in an XML node the above expression won't work.
Is there a better way to handle the xsi:nil attribut and the 'nullness' in
general?
Thanx a lot in advance
[ Post a follow-up to this message ]
|