From: sbz sbz [mailto:sbz(_at_)masscreations(_dot_)com]
I am doing a transformation using XSL. Some of the XML that is being
transformed contains a reference code. That value of that reference
code
exists in another XML file. My goal is to provide the text associated
with that code instead of the ref code.
Is is possible in the XSL to do a lookup on an external XML file?
It is very feasible, and you should be able to find examples in various
FAQs. There is also at least one example in the forthcoming O'Reilly
book "XML Hacks" (look for the example using "FIPS" codes).
Basically, you use the document() function to bring in the xml lookup
table.
Cheers,
Tom P