[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xsl:include blues..

Subject: RE: xsl:include blues..
From: Ben Robb <b.robb@xxxxxxxxxx>
Date: Tue, 13 Feb 2001 11:00:06 -0000
RE:  xsl:include blues..
If you *really* want it in your include file (there was one time when I
did), it can be done by having the following:

===============================
in the include page
===============================

<xsl:template name="headandfoot">
	my header info
	<xsl:call-template name="main"/>
	my footer info
</xsl:template>


===============================
in the main XSLT page
===============================

<xsl:template match="/">
	<xsl:call-template name="headandfoot"/>
</xsl:template>

<xsl:template name="main"/>
	and now I can do what I wanted to with the XML.
</xsl:template>


Its a bit messy, chopping between them, but it gets the job done.

Ben

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.