XML Python
Hello, I need to know how to get an attribute of an xml child node with python. The xml looks something like this: <?xml version="1.0"?> <Transactions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Transaction> <GeneralData Ref="PX00103622" Type="AutofacturaComercial" Date="2020-02-20" Currency="EUR" BeginDate="2020-02-20" EndDate="2020-02-20" DeliveryAddrID="0" TaxIncluded="false" OnlyArchive="false" <DigitallyCertified>true</DigitallyCertified> </GeneralData> <Reference DNRef="14273107/14273106" PORef="6500009101" InvoiceRef="20NV022515" DNRefDate="2020-02-26" PORefDate="2020-02-11" InvoiceRefDate="2020-02-20" /> </References> . . . . </Transaction> </Transactions> You would need to get the data associated with Ref, Date and PORef; but I can't get it out