Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

[jdom-interest] No duplicates element's values in a list of element

NP

2007-10-01


Hi!

let's suppose that we have this xml:
...
<name>name1</name>
<name>name2</name>
...
<name>nameN</name>

Is there a ddt rule that forces to don't have duplicate value of name?
or: i must write a function (using jdom) that recovers all the elements
and controls if there is a duplicate value?
_______________________________________________
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.