Hi there,

I need to add a value from a parent node's attribute to the mapping of the
child node. Unfortunately something like location="../parent" does not work.
It seems that location can only be used to get values of childs (i.e.
forward direction). Here is some xml sample code:

<parent id="abcde" prio="1">
  <child id="zzz" />
  <child id="yyy"/>
  <child id="bbb" />
</parent>

The corresponding Child Java class has a property "priority" that should
default to the parents priority. In other words, I want to map the field
"priority" to the attribute "prio" of its parent. Is this possible?

Regards
Christian Doring


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

    http://xircles.codehaus.org/manage_email

Reply via email to