Java Mailing List Archive

http://www.junlu.com/

Home » JDOM Projects »

[jdom-interest] Fetching between two elements

deneme true

2008-04-02

Replies: Find Java Web Hosting

Author LoginPost Reply
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/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.