[jdom-interest] Fetching between two elements

deneme.true at gmail.com deneme.true at gmail.com
Wed Apr 2 10:00:48 PDT 2008


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.


More information about the jdom-interest mailing list