RE: [xsl] Lookup Reference XML inside of XSL

Subject: RE: [xsl] Lookup Reference XML inside of XSL
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 28 Jul 2004 09:53:10 +0100
> Is is possible in the XSL to do a lookup on an external XML file?
> 

It is possible, and it's common practice.

   document('lookup.xml')/table/row[@code=$code]/value

Or if the lookup table is large, use a key to speed up access.

Michael Kay

Current Thread