Win a copy of Practical SVG this week in the HTML/CSS/JavaScript 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


 
Why fit in when you were born to stand out? - Seuss. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!