<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Filter XPATH expression check against multiple values in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/filter-xpath-expression-check-against-multiple-values/qaa-p/12702683#M4766467</link>
    <description>&lt;P&gt;Hello Suwandi,&lt;/P&gt;&lt;P&gt;Case#5 of below blog should help you.&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2017/06/01/sap-cloud-platform-integration-content-filter-in-detail/" target="_blank"&gt;https://blogs.sap.com/2017/06/01/sap-cloud-platform-integration-content-filter-in-detail/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;Sriprasad Shivaram Bhat&lt;/P&gt;</description>
    <pubDate>Tue, 11 Apr 2023 08:56:19 GMT</pubDate>
    <dc:creator>Sriprasadsbhat</dc:creator>
    <dc:date>2023-04-11T08:56:19Z</dc:date>
    <item>
      <title>Filter XPATH expression check against multiple values</title>
      <link>https://community.sap.com/t5/technology-q-a/filter-xpath-expression-check-against-multiple-values/qaq-p/12702682</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;Is it possible to in the Filter step for the XPath expression to have something like:&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;/root/IDoc[header/field1 = ('value1', 'value2')]&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;But with 'value1', 'value2' is dynamic. I have tried by maintaining the 'value1', 'value2' in a property:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2158902-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Then set the XPath expression as:&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;/root/IDoc[header/field1 = ($property)]&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;But still does not work. I know that it will be possible with OR operator, but this will make the expression static as the number of values to be checked against could be dynamic.&lt;/P&gt;
  &lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 07:46:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filter-xpath-expression-check-against-multiple-values/qaq-p/12702682</guid>
      <dc:creator>suwandi_cahyadi</dc:creator>
      <dc:date>2023-04-11T07:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Filter XPATH expression check against multiple values</title>
      <link>https://community.sap.com/t5/technology-q-a/filter-xpath-expression-check-against-multiple-values/qaa-p/12702683#M4766467</link>
      <description>&lt;P&gt;Hello Suwandi,&lt;/P&gt;&lt;P&gt;Case#5 of below blog should help you.&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2017/06/01/sap-cloud-platform-integration-content-filter-in-detail/" target="_blank"&gt;https://blogs.sap.com/2017/06/01/sap-cloud-platform-integration-content-filter-in-detail/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;Sriprasad Shivaram Bhat&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 08:56:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filter-xpath-expression-check-against-multiple-values/qaa-p/12702683#M4766467</guid>
      <dc:creator>Sriprasadsbhat</dc:creator>
      <dc:date>2023-04-11T08:56:19Z</dc:date>
    </item>
  </channel>
</rss>

