Today i learnt about CDATA that can be used to read fetch xml in our .NET code as described below-
<FetchXML>
<![CDATA[<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="account">
<attribute name="accountid" />
<filter type="and">
<condition attribute="name" operator="eq" value="test3443" />
</filter>
</entity>
</fetch>]]>
</FetchXML>
<FetchXML>
<![CDATA[<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="account">
<attribute name="accountid" />
<filter type="and">
<condition attribute="name" operator="eq" value="test3443" />
</filter>
</entity>
</fetch>]]>
</FetchXML>
No comments:
Post a Comment