🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.xml
Article #9976

[XSLT] Dynamiczne szablony

#9976
From: Mariusz S.
Date: Mon, 15 Sep 2008 09:45
25 lines
1166 bytes
Witam,

czy istnieje jakiś sposób aby importować szablony xslt dynamicznie?

To co przyszło mi do głowy, ale niestety nie działa:

1)
<xsl:variable name="plik">
     <xsl:value-of select="//plik"/>
</xsl:variable>
<xsl:import href="{$plik}"/>

2)
<xsl:import>
    <xsl:attribute name="href">
       <xsl:value-of select="//plik"/>
    </xsl:attribute>
</xsl:import>

3)
<xsl:import href="{//plik}"/>

--
Pozdrawiam
Mariusz
Technical Details
Message-ID: <galask$skr$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail
From: "Mariusz S." <seraf1@poczta.onet.pl>
Newsgroups: pl.comp.xml
Subject: [XSLT] Dynamiczne szablony
Date: Mon, 15 Sep 2008 11:45:52 +0200
Organization: Onet.pl
Lines: 25
Message-ID: <galask$skr$1@news.onet.pl>
NNTP-Posting-Host: abbi49.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: news.onet.pl 1221471956 29339 83.6.198.49 (15 Sep 2008 09:45:56 GMT)
X-Complaints-To: usenet@news.onet.pl
NNTP-Posting-Date: Mon, 15 Sep 2008 09:45:56 +0000 (UTC)
X-Sender: T8UdM87ulIrZj/lbLgtvSpX/7n/BD/Ys
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit