I need to filter a big file XML and find the string using a multiple conditions. I need a filter a email if cnisfCF equal true and natg_passwordAlreadyResetedPostMigration is true.
Anyone can help ?
<customer customer-no="09090909090">
<credentials>
<login>[email protected]</login>
<enabled-flag>true</enabled-flag>
<password-question/>
<password-answer/>
</credentials>
<profile>
<salutation/>
<title/>
<first-name>teste</first-name>
<second-name/>
<last-name>name 1</last-name>
<suffix/>
<company-name/>
<job-title/>
<email>[email protected]</email>
<phone-home>542926407485</phone-home>
<phone-business/>
<phone-mobile/>
<fax/>
<birthday>1999-09-12Z</birthday>
<gender>2</gender>
<creation-date>2022-09-19T18:34:45.000Z</creation-date>
<preferred-locale/>
<custom-attributes>
<custom-attribute attribute-id="natg_Newsletter">false</custom-attribute>
<custom-attribute attribute-id="natg_cfIsCn">false</custom-attribute>
<custom-attribute attribute-id="natg_cpf">5465465456456</custom-attribute>
<custom-attribute attribute-id="natg_infContOptIn">false</custom-attribute>
<custom-attribute attribute-id="natg_optInWP">false</custom-attribute>
<custom-attribute attribute-id="natg_passwordAlreadyResetedPostMigration">true</custom-attribute>
<custom-attribute attribute-id="natg_personNumber">116864397</custom-attribute>
<custom-attribute attribute-id="natg_pushOptIn">false</custom-attribute>
<custom-attribute attribute-id="natg_rut">456456456</custom-attribute>
</custom-attributes>
</profile>
cnisfCFin the example so it can never be true.