Re: How to fill a field in a schema with a variable?

Home Page Forums BizTalk 2004 – BizTalk 2010 How to fill a field in a schema with a variable? Re: How to fill a field in a schema with a variable?

#25625

Hi Daniel.

Unfortunately the field is not a promoted protery, so I have to use XPath. It tried to fill an attribute called “Mandant” in the node “customer”. But I always get the xml file without the attribute. It is just the “customer” in the xml file without the attribute field called “Mandant”. One more thing, I use two different  namespaces.

Here is the XPath I use – perhaps you can see if I have the wrong syntax:

xpath(Response2Billing,(“string(/*[local-name()=’ResponseMM’ and namespace-uri()=’http://www.company.org/billing/ResponseMMEnvelope’%5D/*%5Blocal-name()=’Customer’ and namespace-uri()=’http://www.company.org/billing/ResponseMM’%5D/@*%5Blocal-name()=’Mandant’ and namespace-uri()=”]) = Mandant”));

Thanks a lot.

Wolfgang