This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: HTML tags question


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]