X
[XaToA]
Hello.
I have the bellow xml file (or String).
i want to parse the file for producing this:
2 nombre1 56 curso cast 1 curso ing 1
22 nombre2 22 curso cast 2 curso ing 2
can any body help me please? i don't know how can i use the xml parserws
(DOM, SAX).
Please help me
thanks
<?xml version="1.0" encoding="ISO-8859-1"?>
<registros>
<registro>
<id>2</id>
<nombremaquina>nombre1</nombremaquina>
<idcurso>56</idcurso>
<nombrecursocastellano>curso cast 1</nombrecursocastellano>
<nombrecursoingles>curso ing 1</nombrecursoingles>
</registro>
<registro>
<id>22</id>
<nombremaquina>nombre2</nombremaquina>
<idcurso>223</idcurso>
<nombrecursocastellano>curso cast 2</nombrecursocastellano>
<nombrecursoingles>curso ing 2</nombrecursoingles>
</registro>
</registros>
I have the bellow xml file (or String).
i want to parse the file for producing this:
2 nombre1 56 curso cast 1 curso ing 1
22 nombre2 22 curso cast 2 curso ing 2
can any body help me please? i don't know how can i use the xml parserws
(DOM, SAX).
Please help me
thanks
<?xml version="1.0" encoding="ISO-8859-1"?>
<registros>
<registro>
<id>2</id>
<nombremaquina>nombre1</nombremaquina>
<idcurso>56</idcurso>
<nombrecursocastellano>curso cast 1</nombrecursocastellano>
<nombrecursoingles>curso ing 1</nombrecursoingles>
</registro>
<registro>
<id>22</id>
<nombremaquina>nombre2</nombremaquina>
<idcurso>223</idcurso>
<nombrecursocastellano>curso cast 2</nombrecursocastellano>
<nombrecursoingles>curso ing 2</nombrecursoingles>
</registro>
</registros>