I need to get several fields from an XML based on the id=voucher, how can I do it? I need this to work for N types of XML that can be structured like this:
All XML have invoice with has id=voucher (<invoice id="voucher" version="1.1.0">) but may or may not have roots as shown above. How could I do it?
For example, I need to get razonSocial node