AW: [xml] working with multiple source documents



I'm working with a stylesheet that operates on multiple source
documents. Assuming two sources 'A' and 'B', I have a template
'a' (matched in 'A') that calls another template 'b' with an
xpath starting with 'document('B')', i.e. the nodeset seen
in template 'b' is from document 'B'.
Is there any way to access nodes from 'A' while I am in template
'b' ?


As far as I know there is no way back to document A. The only way
I know to solve this problem is to store the nodes of interest from
document A in a variable (constant) befor you apply your document(B)
function.

Hope this helps.

Thomas



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]