Hi,

Is there a possibility to use XMLBeans for stuff like that:

in  my xml file I'll have something like this:

<root>
 ...
  <attributes>
    <foo>value</foo>
    <bar>nope</bar>
    <yetAnotherSillyTagName>ttfn</yetAnotherSillyTagName>
  </attributes>
...
</root>


In my generated class I'd like to have a method something like

public Map getAttributes();


and NO getFoo() or getBar()

so that a *user* could add inside of <attributes></attributes>
tags (and tag names) he likes.


So that I could do in my application code something like this:

<snip>
Map attributes = xmlBeansGeneratedStuff.getAttriutes();
attributes.get("foo");
</snip>


How do I enable that (in my schema?) with xml beans?

Thanks,
Matthias

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

Reply via email to