Welcome Guest, Not a member yet? Register   Sign In
URGENT parsing xml file using codeigniter?
#1

[eluser]harper23[/eluser]
Hello all of you

Searching over internet I found http://blog.insicdesigns.com/2009/03/par...l-library/, but I have a lot of questions, I am new to codeigniter, and I am trying to adapt my code to this xml, I want to display once a user logins, but the question is How would I iterate through a series of child nodes with attributes?

my xml looks like this:

<?xml version="1.0" encoding="utf-8"?>
<Comprobante >
<Emisor rfc="ISP900909Q88" nombre="Industrias del Sur Poniente, S.A. de C.V.">
<DomicilioFiscal calle="Alvaro Obregón" codigoPostal="06700" colonia="Col. Roma Norte" estado="Distrito Federal" localidad="México" municipio="Cuauhtémoc" noExterior="37" noInterior="3" pais="México"/>
<ExpedidoEn calle="Pino Suarez" codigoPostal="95460" colonia="Centro" estado="Nuevo Léon" localidad="Monterrey" municipio="Monterrey" noExterior="23" pais="México"/>
</Emisor>
<Receptor nombre="Rosa María Calderón Uriegas" rfc="CAUR390312S87">
<Domicilio calle="Topochico" codigoPostal="95465" colonia="Jardines del Valle" estado="Nuevo León" localidad="Monterrey" municipio="Monterrey" noExterior="52" pais="México"/>
</Receptor>
<Conceptos>
<Concepto cantidad="10" descripcion="Vasos decorados" importe="200" unidad="Caja" valorUnitario="20.00"/>
<Concepto cantidad="1" descripcion="Charola metálica" importe="150" unidad="pieza" valorUnitario="150.00"/>
</Conceptos>
<Impuestos>
<Traslados>
<Traslado impuesto="IVA" tasa="15.00" importe="52.50"/>
</Traslados>
</Impuestos>
</Comprobante>


Messages In This Thread
URGENT parsing xml file using codeigniter? - by El Forum - 11-23-2010, 12:50 PM
URGENT parsing xml file using codeigniter? - by El Forum - 11-23-2010, 02:04 PM
URGENT parsing xml file using codeigniter? - by El Forum - 11-23-2010, 03:23 PM
URGENT parsing xml file using codeigniter? - by El Forum - 11-23-2010, 03:26 PM
URGENT parsing xml file using codeigniter? - by El Forum - 11-24-2010, 05:17 PM
URGENT parsing xml file using codeigniter? - by El Forum - 11-24-2010, 06:21 PM
URGENT parsing xml file using codeigniter? - by El Forum - 11-24-2010, 07:02 PM
URGENT parsing xml file using codeigniter? - by El Forum - 11-24-2010, 08:50 PM
URGENT parsing xml file using codeigniter? - by El Forum - 02-20-2014, 05:19 AM
URGENT parsing xml file using codeigniter? - by El Forum - 02-20-2014, 06:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB