Hi,
My XML docs contain a bunch of elements that look like this:
<mp-group id="cddv">
<monitored-property key="count" label="count"/>
<monitored-property key="duration" label="duration"/>
</mp-group>
and another bunch of elements that look like this:
<service-type mp-group-ref="cddv">
The "mp-group-ref" attribute is defined as a keyref, which points to an
<mp-group> (the "id"
attribute of the the latter is defined as a key).
Is there any way using XMLBeans to retrieve the object pointed to by a keyref?
In other words,
given a ServiceType, is there any way I can easily retrieve the referenced
MpGroup? Of course I
could store all the MpGroups in a Map, which I could then lookup using the
mp-group-ref value, but
is there an easier way....? I'm using version 2.1.0.
Thanks in Advance,
Don
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo!
Security Centre. http://uk.security.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]