[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

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
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.

Attachment: pgp00004.pgp
Description: PGP signature

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.