[jdom-interest] i don't know how to construct this XML form
<Element operator="and">
jack
cd2y064.jack at msa.hinet.net
Sun Feb 27 04:35:29 PST 2005
Hello,Anybody. I have a question.
I have this XML ,as follow:
<Condition>
<Expression operator="and">
<Expression operator="and">
<Expression operator="and">
<Expression operator="=">
<Expression operator="Fact" value="a" />
<Expression operator="Const" value="false" type="Boolean" />
</Expression>
<Expression operator="=">
<Expression operator="Fact" value="a" />
<Expression operator="Const" value="false" type="Boolean" />
</Expression>
</Expression>
<Expression operator="=">
<Expression operator="Fact" value="a" />
<Expression operator="Const" value="false" type="Boolean" />
</Expression>
</Expression>
<Expression operator="=">
<Expression operator="Fact" value="a" />
<Expression operator="Const" value="false" type="Boolean" />
</Expression>
</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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20050227/c9d924d6/attachment.htm
More information about the jdom-interest
mailing list