Sorry !
 
How do I convert this xml into objects and that the file has
several subitems as row
In the example I got a Resultado after row with elements also have 
 Automoveis_Completo and their contents in row and so on

<?xml version="1.0" encoding="utf-8"?>
<root>
        <Resultado xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
                <row>
                        <CPF>12345678901</CPF>
                        <ID_Base>33585420</ID_Base>
                        <Nasc>1985-06-28</Nasc>
                        <Idade>26</Idade>
                        <Signo>CANCER</Signo>
                        <Escolaridade>MEDIO COMPLETO</Escolaridade>
                        <Nome>RAPHAEL DE ANDRADE DA SILVA</Nome>
                        <Sexo>MASCULINO</Sexo>
                        <StatusReceita>REGULAR</StatusReceita>
                        <DT_Consulta>2011-03-09</DT_Consulta>
                        <HR_Consulta>00:31:41</HR_Consulta>
                        <Automoveis_Completo 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
                                <row>
                                        <Ano_x0020_Fabricacao xsi:nil="true"/>
                                        <Modelo xsi:nil="true"/>
                                        <Renavam xsi:nil="true"/>
                                </row>
                        </Automoveis_Completo>
                        <Parentes 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
                                <row>
                                        <CPF>12345678901</CPF>
                                        <Nasc>1982-11-17</Nasc>


-----Mensagem original-----
De: Jörg Schaible [mailto:[email protected]] 
Enviada em: segunda-feira, 5 de novembro de 2012 15:53
Para: [email protected]
Assunto: [xstream-user] Re: doubt in xml

Daniel Gomes-THINK IT wrote:

> Olá, agora outra duvida:
> 
>  
> 
> Como fazer para converter esse xml em objetos sendo que o arquivo tem 
> vario s subitens como row
> 
>  
> 
> segue o exemplo:
> 
> Look, I got a Resultado after row with elements also have 
> Automoveis_Completo and their contents in row and so on

Sorry, but I don't understand, what you try to tell me here.

- Jörg


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to