I have an xml file that is like this:

<?xml version="1.0"?>
<users>
<user>
<username>dan</username>
<password>password</password>
<credentials>
<credential name="read"/>
<credential name="write"/>
<credential name="test"/>
</credentials>
</user>
<user>
<username>testuser</username>
<password>password</password>
<credentials>
<credential name="read"/>
</credentials>
</user>

</users>

Two questions:
1. Can I make BeanReader return a List instead of creating a Users object? If so how?
2. My "User" and "Credential" classes are interfaces. Can I specify to betwixt that it should use an object instead? Or, should I use digester? I've used it before, but betwixt looks like it could possibly be easier.

Retards,

Dan Diephouse


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to