Hi,

I'm new in this XML and JaxMe topic.
I managed to create a XML schema and I can marshal my objects and unmarshal the 
XML file.

My XML file looks like:

<books>
<book name="book1">
        <bookauthor>...</bookauthor>
        ....
</book>

<book name="book2">
        <bookauthor>...</bookauthor>
        ....
</book>
</books>

The class "BooksImpl" gives me an ArrayList of all the "BookImpl" objects, 
which have a method getName().
But I would like to get an Hashtable where the name of a book is the key and 
the book object itself would be the value.

Is this possible to and what should I do to achieve this?

Thank you for your comments and ideas,

Steffen.

-- 
Hermes powered by LFS SVN-20070420 (Linux 2.6.22.1)

Best regards, Steffen Pankratz.

Attachment: signature.asc
Description: PGP signature

Reply via email to