This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How to use an XML-based LUT with XSLT?



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]