Java Mailing List Archive

http://www.junlu.com/

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

Re: [jdom-interest] i don't know how to construct this XML form
 <Element operator="and">

Tatu Saloranta

2005-02-27

Replies:

Hmmh. This looks suspiciously like a good old "can you
do my programming assignment for me" question?
Maybe you should spend bit more time figuring out the
basics: I don't think there's anything JDOM-specific
in looping and recursively constructing expression
trees; and once you do that, it's just matter of
simply creating elements.

But if you do have problems using documented API, then
it would be a valid question.

-+ Tatu +-

--- jack <cd2y064.jack@(protected):

> Hello,Anybody. I have a question.
> I have this XML ,as follow:
> <Condition>
>     <Expression operator="and">
....
>     </Expression>
>   </Condition>
> I need to dynamic to construct <Expression
> operator="and">
> and i must be used to for loop (e.g for(int
> i=0;i<result<i++)).
> Assume i know this element running number.
> How can i use JDOM design this problem?
> That's for anybody.  
> > _______________________________________________
> To control your jdom-interest membership:
>
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)



   
__________________________________
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://info.mail.yahoo.com/mail_250
_______________________________________________
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.