Subject: RE: [xsl] keyed lookup table From: Kevin Rodgers <kevin.rodgers@xxxxxxx> Date: Fri, 18 Feb 2005 09:01:20 -0700 |
Michael Kay writes: > As DC said, though, document('') is inefficient and in 2.0 is never > necessary. > > key('language-code', 'de', $language-table) > > gives the same result and is much more efficient. Thanks to you and David for your helpful responses. For this particular case I'm going to use an external file, but for some other transformation-specific tables this will be great. BTW, if anyone is interested, there are several ISO code tables available in XML at http://www.codehq.net/schemas/ -- Kevin Rodgers
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] keyed lookup table, Michael Kay | Thread | RE: [xsl] keyed lookup table, Pawson, David |
RE: [xsl] Correction: Return Ancest, Ross, Douglas | Date | Re: [xsl] Muenchian grouping, Mukul Gandhi |
Month |