Fetching between two elements

[email protected]
Newsgroups gmane.comp.java.jdom.general
Message-ID <[email protected]>
Hi,

I want to parse between two elements. For example:

<root>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
</root>

How can I fetch from 2(<two>2</two>) through 4(<four>4</four>) tag?

Thanks in advance.
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.