This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: HTML tags question
- To: "xsl-list at mulberrytech dot com" <xsl-list at mulberrytech dot com>
- Subject: Re: HTML tags question
- From: "Juergen Hermann" <jhe at webde-ag dot de>
- Date: Wed, 05 Jul 2000 19:50:09 +0200
- Reply-To: xsl-list at mulberrytech dot com
On Wed, 05 Jul 2000 15:29:45 +0200, Selim Cesic wrote:
>I really hope that someone out there will tell me that this is NOT a
>good approach and that there is an easier (faster to make) way,
It's not. :)
Way:
<include source="foo.xhtml"/>
and in the stylesheet:
<xsl:template match="include">
<xsl:copy-of select="document(@source)/include"/>
</xsl:template>
and the include looks like:
<?xml version='1.0' encoding='ISO-8859-1'?>
<include>
<hr noshade="noshade" width="100%" />
...
</include>
Ciao, Jürgen
--
Jürgen Hermann (jhe@webde-ag.de)
WEB.DE AG, Amalienbadstr.41, D-76227 Karlsruhe
Tel.: 0721/94329-0, Fax: 0721/94329-22
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list