Hi,
I am trying to use System.XML.Xpah() inside expression shape, but biztak is throwing error:
'Xpath is not a function' on the statement itsef.
Thanks in advance.
I guess you dont need to put "System.XML".
I used something similar to this
Declare variable countInvoices - Int type
Then i have to following in the expression shape
val = System.Convert.ToInt32(xpath(MessageName,"count(path of node)"));
Siva
Hi there!
Try the following syntax to set a value:
xpath(Msg_Message, "//*[1]/*[local-name() = 'Header']/*[local-name() = 'Value']") = varValue;
Or the following syntax to get a value:
varValue = xpath(Msg_Message, "string(//*[1]/*[local-name() = 'Header']/*[local-name() = 'Value']/text())");
//Niklas