Emile wrote:
> is there is simple approach to deriving the start node of a path for related
> nodes if in fact the tag is within another relatednodes tag, for example:
>
> <mm:relatednodes type="data_profile">
> <mm:relatednodes ???nodes="data_profile"??? role="posrel"
> type="data_profile_fields">
> <tr><td><mm:field name="field_name" /></td></tr>
> </mm:relatednodes>
> </mm:relatednodes>
>
> Many thanks
The start node is the node of the surrounding node. Here I demonstrate 2
ways to show it:
<mm:relatednodes id="startnode" type="data_profile">
startnode number: <mm:field name="number" />
<mm:relatednodes role="posrel" type="data_profile_fields">
<tr><td><mm:field name="field_name" /> of <mm:field node="startnode"
name="number" /></td></tr>
</mm:relatednodes>
</mm:relatednodes>
But perhaps I don't really understand your problem because this seems
trivial (perhaps the 'node' attribute is less so, and you mean that).
Michiel
--
Michiel Meeuwissen mihxil'
Mediacentrum 140 H'sum [] ()
+31 (0)35 6772979 nl_NL eo_XX en_US