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

RE: header/footer: How to to separate html-tag in to differe

Subject: RE: header/footer: How to to separate html-tag in to differentxs l-template rules?
From: "Carlson, Thor" <CarlsonT@xxxxxxx>
Date: Fri, 23 Jun 2000 08:12:26 -0400
footer in html
Here's one way:

<xsl:template match="/">
 <HTML>
   <HEAD>
       <xsl:apply-templates select="header"/>
   </HEAD>
   <BODY>
       <xsl:apply-templates select="footer"/>
   </BODY>
 </HTML>
</xsl:template>

<xsl:template match="header">
  <!-- some stuff -->
</xsl:template>

<xsl:template match="footer">
  <!-- some stuff -->
</xsl:template>

- Thor

----------------------------------
Thor Carlson
Dun & Bradstreet
carlsont@xxxxxxx


-----Original Message-----
From: Hans-Guenter Stein [mailto:Hans-Guenter.Stein@xxxxxxxxx]
Sent: Friday, June 23, 2000 4:07 AM
To: xsl-list@xxxxxxxxxxxxxxxx
Subject: header/footer: How to to separate html-tag in to different
xsl-template rules?


How could I separate headers and footers in my xsl-templates? My problem

is, that I cannot have a tag like "body" in an <xsl:template>, whithout
closing it.

So how to do:

<xsl:template match="header">
  <html>
  <head>
  </head>
  <body>
</xsl:template>

<xsl:template match="footer">
  </body>
  </html>
 </xsl:template>

Hans-Guenter


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


 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.