Regarding CDATA in BizTalk orchestration

Hello,

I am polling data from SQL server using Typed  polling and bellow is the my result.In my orchestration i want to loop through one by one and extract  CDATA content and assign it to another schema and continue with other processing.I am having hard time in extracting CDATA. can you guys look at it.

I have tired  msgnew=xpath(msgsqlpolllingresult,"string(xpath)") but no luck...

<TypedPolling xmlns="http://schemas.microsoft.com/Sql/2008/05/TypedPolling/Test">
  <TypedPollingResultSet0>
    <TypedPollingResultSet0>
      <Data><![CDATA[<ns0:Cancel xmlns:ns0="http://test.cancel"><FiledHeader>sales</FieldHeader><Body><transactiontype>cancel</Body>]]></Data>
    </TypedPollingResultSet0>
    <TypedPollingResultSet0>
      <Data><![CDATA[<ns0:Cancel xmlns:ns0="http://test.cancel"><FiledHeader>sales</FieldHeader><Body><transactiontype>cancel</Body>]]></Data>
    </TypedPollingResultSet0>
    <TypedPollingResultSet0>
      <Data><![CDATA[<ns0:Cancel xmlns:ns0="http://test.cancel"><FiledHeader>sales</FieldHeader><Body><transactiontype>cancel</Body>]]></Data>
    </TypedPollingResultSet0>
    
  </TypedPollingResultSet0>
</TypedPolling>


August 28th, 2015 6:02am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics