Thomas Thomas wrote:
Thanks for the support Oliver,
however, when I do clearTree(), the "startlist" tag disapear...
I want that :
<startlist>
<start parse="true" index="true">http://intranet.lu.anonyme1.bank </start>
<start parse="true" index="true">http://intranet.lu.anonyme2.bank</start>
</startlist>
To become that :
<startlist>
</startlist>
Actually I do this because I need to put new "start" tags in the
"startlist"
tag ...
Sounds very basic but I can't achieve it ...
Hm, interesting side effect of clearTree(). I guess that parent nodes,
which become empty by the clearTree() operation are automatically removed.
Whatever, is this really a problem that the <startlist> tag is removed?
You can still add new <start> tags by calling
addProperty("startlist.start", "a value");
Then the whole structure will be generated. More information about
adding properties to a hierarchical configuration can be found in the
user guide [1].
HTH
Oliver
[1]
http://jakarta.apache.org/commons/configuration/howto_xml.html#Adding_new_properties
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]