May 162014
 

I am writing this actually for myself.

When defining a XPath Filter and you are using the Context Resolver, the format of the context properties xml document that the XPath will run against is:

<ContextProperties>
  <Property name=”SourceCharset” namespace=”http://schemas.microsoft.com/BizTalk/2003/xmlnorm-properties”>utf-16</Property>
</ContextProperties>

 

So the filter expression would looks something like this:

/ContextProperties/Property[@name=’SourceCharset’ and @namespace=’http://schemas.microsoft.com/BizTalk/2003/xmlnorm-properties’]/text()=”utf-16”