Subject: RE: How To Include external XSL files into a master XSL file From: "Igor Nakshin" <inakshin@xxxxxxxxxxx> Date: Wed, 16 Feb 2000 14:07:44 -0600 |
<xsl:import> or <xsl:include>-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Jim Garrett
Sent: Wednesday, February 16, 2000 12:26 PM
To: XSL-List@xxxxxxxxxxxxxxxx
Subject: How To Include external XSL files into a master XSL fileWhat is the syntax to link multiple child style sheets intoa master style sheet ...e.g.header style sheet header.xslfooter style sheet footer.xsldata style sheet data001.xslmaster style sheet. master.xslthis way i can always reference the master.xslstyle sheet from any/all *.xml filesand then link in header.xsl (this one never changes)then the appropriate data.xsl (this one changes)then link the footer.xsl (this one never changes)this way if I make any changes to the headeror the footer, they are edited in just one fileand reflected in all master.xsl files<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org><xsl:template match="/"><!-- include the header.xsl file here --><!-- how to include syntax here --><!-- include the data.xsl file here --><!-- how to include syntax here --><!-- include the footer.xsl file here --><!-- how to include syntax here --></xsl:template></xsl:stylesheet>alsowhat is the proper syntax in the included external xsl filesare they structured the same as the master.xsl file woulde.g.<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org><xsl:template match="/"><!-- this is the header xsl file --></xsl:template></xsl:stylesheet>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: How To Include external XSL fil, G. Ken Holman | Thread | RE: The XSL-List Digest V2 #510, Respess, Christe |
Problem with entities and XT, Didier PH Martin | Date | Re: xsl:call-template question, Tony Graham |
Month |