Here is a lookup file get the values for Table attributes that match in the actual xml files
&l
It is best to use a key to lookup values. Here is a minimized example:
Given this input XML:
FNC
and a second file named templates.xml:
FNC
-22
the following stylesheet:
XSLT 1.0
will return:
In XSLT 2.0 you'll be able use the lookup file as an argument of the key() function, thus avoiding the need to switch context.