Re: HTML tags question

Subject: Re: HTML tags question
From: "Juergen Hermann" <jhe@xxxxxxxxxxx>
Date: Wed, 05 Jul 2000 19:50:09 +0200
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@xxxxxxxxxxx)
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


Current Thread