Hi,

In my code I have dropMsg String variable.
Variable includes list of messages. The messages are as plain xml.
Finally I must use each field. But to do it I must parse it into Data 
and String.
Can maybe somebody know any good tutorial, etc.  how to do it.

Thanks in advance for help!
Regards,
Rafal

String dropMsgList = ..
System.out.println(dropMsgList);

<Messages>
  <Msg>
    <MsgTime>2011.03.07 12:59:40</MsgTime>
    <ValidFromTime>2011.03.07 12:59</ValidFromTime>
    <ValidToTime>2011.03.07 16:43</ValidToTime>
    <MsgText>Test message1 MsgText>
  </Msg>
  <Msg>
    <MsgTime>2011.03.07 11:36:21</MsgTime>
    <ValidFromTime>2011.03.07 11:35</ValidFromTime>
    <ValidToTime>2011.03.07 15:21</ValidToTime>
    <MsgText>Test message2</MsgText>
 </Msg>
</Messages>


-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to