No, it is not. Whilst I think it might be possible to add such a
feature, I think it won't be an easy task (as you'd have to allow
XPATH-style constructs).

Regards
Werner

John Smith wrote:
> 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.
> 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to