Subject: Re: How to use an XML-based LUT with XSLT?
From: Goetz Bock <bock@xxxxxxxxxxx>
Date: Thu, 27 Sep 2001 17:09:17 +0200
|
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.
Attachment:
pgp00004.pgp
Description: PGP signature
|