• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to know the name of the next element

 
Srinivas Rallapalli
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is it possible to know the name of the next element.
suppose i have an XML file, which contains an element which contains sub elements like
<bits>
<start>10</start><start>5</start><end>3</end>
</bits>
now i want to know the meaning of the next element of start.
first element is always be start.
after that it may be either end or start.
please help me.
thanks
srini.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
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!