This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
lookup table
- From: Guy McArthur <guym at guymcarthur dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 18 Jul 2002 11:24:43 -0700 (MST)
- Subject: [xsl] lookup table
- Reply-to: xsl-list at lists dot mulberrytech dot com
Can I have a static lookup table *inside* my xsl stylesheet?
Something like
<xsl:stylesheet>
<definitions>
<term name="GMT">Greenwich Mean Time</term>
<term name="MST">Mountain Standard Time</term>
</definitions>
<xsl:template>
<xsl:value-of select="document()//definitions[@name='GMT']"/>
</xsl:template>
Or does that have to be in a seperate xml document?
--
Guy McArthur * email{guym@arizona.edu} http{guymcarthur.com}
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list