of course i have all the getters/setters i need in my bean.
could you please explain a little more how can i do it easily with digester?
Gao Di a écrit:
>it can be done with digester,very easy.u should have
>the get method in your bean
>
> --- [EMAIL PROTECTED] 的正文:
>
>
>>Hi all,
>>I want to passe from the following XML
>>
>> <?xml version="1.0" encoding="ISO-8859-1"?>
>> <!DOCTYPE form [ <!ELEMENT field (field*) >
>> <!ATTLIST field code ID #REQUIRED>]>
>> <form>
>> <field code="txtNumClient">num1</field>
>> <field code="chkSuiviICP">boolTrue</field>
>> </form>
>>
>>To the following java bean
>>
>> public class Form {
>> private String txtNumClient;
>> private boolean chkSuiviICP;
>> // ...
>> }
>>
>>How to use my ID attributes "code" from the XML to
>>map my bean attributes in
>>Java?
>>Thank you for any suggestions.
>>
>>
>>
>>
>---------------------------------------------------------------------
>
>
>>To unsubscribe, e-mail:
>>[EMAIL PROTECTED]
>>For additional commands, e-mail:
>>[EMAIL PROTECTED]
>>
>>
>>
>>
>
>_________________________________________________________
>Do You Yahoo!?
>150万曲MP3疯狂搜,带您闯入音乐殿堂
>http://music.yisou.com/
>美女明星应有尽有,搜遍美图、艳图和酷图
>http://image.yisou.com
>1G就是1000兆,雅虎电邮自助扩容!
>http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]