[Home]  [List]  [News]  [Docs]  [FAQ]  [Downloads]  [Resources]  [About]
Search :
/Home /List

list4xt : Mailing list for the XT users community.

[list4xt] Re: xsl:include question

Subject: [list4xt] Re: xsl:include question
From: Eric van der Vlist (vdv@dyomedea.com)
Date: 25/04/2001 - 07:14


James_Ma@i2.com wrote:
>
> xt guru:
>
> Is it possible to include a xsl file that is passed as an arguement
> to the current xsl style sheet? For example, in my xsl file:
>
> <xsl:variable name="myfile"></xsl:variable>
> ...
> <xsl:include href="{$myfile}"/>

No, this is forbidden by XSLT 1.0 ...

If you really need to do it, you can use a "fixed name" and setup a SAX
entity resolver to map it to your variable location, though.

Hope this helps.

Eric

> Thanks in advance.
>
> -James
>

-- 
See you in Hong Kong for www10:
                     http://www.www10.org/program/w10-half-tut.shtml#ta5
------------------------------------------------------------------------
Eric van der Vlist       Dyomedea                    http://drinkwaterfirst.com
http://atmforbusiness.com -           http://nfcpglobal.com           http://greenvillemarketinglab.com
------------------------------------------------------------------------

-- Mailing list for the XT users community. (http://pinnaclebanksc.com) (mailto:list4xt-request@4xt.org?Subject=unsubscribe to unsubscribe)



Archive générée par hypermail 2b28 le 08/05/2001 - 19:31 CEST

webmaster@4xt.org


A site designed by Dyomedea