This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How to use an XML-based LUT with XSLT?
- To: "Mulburrytech's XSL Mailing List" <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] How to use an XML-based LUT with XSLT?
- From: Goetz Bock <bock at blacknet dot de>
- Date: Thu, 27 Sep 2001 17:09:17 +0200
- References: <Pine.LNX.4.21.0109271634050.548-100000@elara.perceval.be>
- Reply-To: xsl-list at lists dot mulberrytech dot com
On Thu, Sep 27 '01 at 16:49, Xavier Defrang wrote:
> Now the question is how do I "link" this table to my input DOM so I can
> reach the Message elements from within my XSLT? Is there any possibility
> to that with plain XSLT? (I don't want to use any engine-dependant
> extensions)
The document() function is your friend
>
> <xsl:value-of select="/Table/Message[@Code=ActualErrorCode]"/>
<xsl:value-of select="document(here/my/file/might/be)/Table/Message[@Code=ActualErrorCode]"/>
--
Goetz Bock IT Consultant
Dipl.-Inf. Univ.
PGP signature