How to set conditions to evaluate if element xml or attribute xml exist then do something

For example, I want to evaluate if exist the element response code and attribute listName=“Tipo de nota de credito” so, if exist then get the value if not exist go for other flow or execute other accions.

cac:DiscrepancyResponse
cbc:ReferenceIDFE01-687781</cbc:ReferenceID>
<cbc:ResponseCode listAgencyName=“PE:SUNAT” listName=“Tipo de nota de credito” listURI=“urn:pe:gob:sunat:cpe:see:gem:catalogos:catalogo09”>01</cbc:ResponseCode>
cbc:Description</cbc:Description>
</cac:DiscrepancyResponse>

Hi @odelacruz

Hope this might help you

Cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.