In article <shaun.roe->,
shaun <> wrote:
>I want to visit the nodes in "structure" and use the path to visit the
>same nodes in "values", then insert the leaf nodes of values into
>structure.
Rather than constructing a complete xpath, I suggest that in each
template you maintain a variable pointing to the corresponding node in
the other document, which you pass as a parameter to the template.
Then use the position() of the current node to get the corresponding
child in the other document.
-- Richard
|