[jdom-interest] RE: getChildren() returns an empty list.. (please help)
Mirabito, Massimo
mcm8 at cdc.gov
Wed Oct 23 03:12:17 PDT 2002
Hello Malachi,
As far as question 1 and 2 I was just confused because I did not realize
that I need to traverse the tree to get to the element (thought I could just
go to it directly)
For your 3rd question you bring up a very good point. So would this be
better?
<?xml version="1.0" encoding="UTF-8"?>
<security>
<application>
<id>100</application-id>
<name>Application 1</application-name>
<description>Application 1Description</application-description>
<roles>
<role id="1" name="Role 1" description="Role 1 Desc" />
<role id="2" name="Role 2" description="Role 2 Desc" />
</roles>
</application>
<user>
<role id="1" name="Role 1" description="Role 1 Desc">
<access id="1" name="can">111111</access>
</role>
<role id="2" name="Role 2" description="Role 2 Desc">
<access id="2" name="irb_id">4444444</access>
</role>
</user>
</security>
thanks in advance
Max
More information about the jdom-interest
mailing list