|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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@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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








