BizTalk Server Orchestration - setting to false xsi:nil in expression

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > December 2004 > setting to false xsi:nil in expression





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author setting to false xsi:nil in expression
Stas Kondratiev

2004-12-21, 2: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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com