Hi,
I have an xml document like this :
<document>
<a>foo</a>
<b>bar</b>
<c>barfoo</c>
<d>foobar</d>
...
</document>
Is it possible to use castor to get a HashMap in which the keys would be
"a", "b", "c", "d", ... and the values would be "foo", "bar", "barfoo",
"foobar", ...? i.e. {a=foo, b=bar, c=barfoo, d=foobar, ...}
Of cours, I would like to do this without knowing which tags there is going
to be at this level. By using <bind-xml matches="*"/>, both the keys and the
values are "foo", "bar", "barfoo" and "foobar"...
Any help or ideas would be appreciated.