Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML parsing

 
ramesh kancherla
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
This is Ramesh kancherla. I am using org.jdom.input.SAXBuilder in my appliction.

I am trying to getting specified element from Root (XML). for example

<Orders>
<order>
<name>xxx</name>
<date>
<OrderedDate>12-1-2010</OrderedDate>
<Deliverydate>21-1-2010</Deliverydate>
</date>
</order>
</orders>


For Getting delivary date ..
Now I am getting Root--> getChilds--> getChilds--> getchilds

1) Can I get Delivarydate at a Time?


2) how Can I update delivary date as 22-1-2010 in Xml


Can any one please give me suggestion



Thanks & Regards
Ramesh k


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic