squirrelman
Programmer
I am having trouble figuring out how to parse an xml name space file. I have an excerpt of the file below. I need to get total, fecha, folio, and serie out of the file and the normal parsing methods that I am used to programming.
You help is greatly appreciated!
<?xml version="1.0" encoding="UTF-8"?>
<cfdi:Comprobante NumCtaPago="5008" LugarExpedicion="RAMOS ARIZPE, COAHUILA" metodoDePago="NA" tipoDeComprobante="ingreso" total="4420.64" Moneda="USD" TipoCambio="1" subTotal="3810.9" certificado="MIIGWTCCBEGgN" sello="k7YXX8ni7A==" fecha="2016-12-21T08:10:04" folio="10749" serie="A" version="3.2" xsi:schemaLocation=" xmlns:cfdi=" xmlns:xsi="
You help is greatly appreciated!
<?xml version="1.0" encoding="UTF-8"?>
<cfdi:Comprobante NumCtaPago="5008" LugarExpedicion="RAMOS ARIZPE, COAHUILA" metodoDePago="NA" tipoDeComprobante="ingreso" total="4420.64" Moneda="USD" TipoCambio="1" subTotal="3810.9" certificado="MIIGWTCCBEGgN" sello="k7YXX8ni7A==" fecha="2016-12-21T08:10:04" folio="10749" serie="A" version="3.2" xsi:schemaLocation=" xmlns:cfdi=" xmlns:xsi="