commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Antonio Pérez Testa <japte...@indra.es>
Subject Re: [Digester]some problem when parsing xml
Date Thu, 26 Aug 2004 06:47:19 GMT
Can you explain it a little bit?. I can't see the problem.

Gao Di wrote:

>i have defined 2 javabeans,device.java and
>subdevice.java,and i have the folllowing xml file:
>1.
><OBJ>
>  <device name="n1"/>
></OBJ>
>......
>
>2.
><OBJ>
>  <device name="n1">
>    <subdevice name="m1"/>
>  </device>
></OBJ>
>......
>
>on the first format,i want to parse the xml content to
>device.java,while on the second format,i want to fill
>the xml content to subdevice.java,but the question is
>i don't know which format i will meet,it appears
>randomly,what should i do to distinguish them?
>
>
>_________________________________________________________
>Do You Yahoo!?
>150MP3ѣֵ
>http://music.yisou.com/
>ŮӦоУѱͼͼͿͼ
>http://image.yisou.com
>1G1000ףŻݣ
>http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>  
>
-------------------------------------------------------------------------------------------------------------------
Este correo electrnico y, en su caso, cualquier fichero anexo al mismo, contiene informacin
de carcter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda
prohibida su divulgacin, copia o distribucin a terceros sin la previa autorizacin escrita
de Indra. En el caso de haber recibido este correo electrnico por error, se ruega notificar
inmediatamente esta circunstancia mediante reenvo a la direccin electrnica del remitente.

The information in this e-mail and in any attachments is confidential and solely for the attention
and use of the named addressee(s). You are hereby notified that any dissemination, distribution
or copy of this communication is prohibited without the prior written consent of Indra. If
you have received this communication in error, please, notify the sender by reply e-mail

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message