[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: "Kevin Duffey" <kevin.duffey@xxxxxxxx>
Date: Tue, 13 Feb 2001 08:34:46 -0800
kevin blues
Hi,

Yeah..I was thinking this very same thought on the way home last night as I
was pounding my head against the wheel in frustration! ;) I figured, the
<xsl:include..> for header and footer was one line each. And adding the
<html>... and ..</html> can be done on each page. However, in the
<head></head> section, on some pages I will include different JavaScript
routines, so I was hoping to be able to set that dynamically in a variable
before the included header, so that the javascript name would be dynamically
chosen at runtime.

I think I like the first reply..having a call with the contents. Seems more
fitting I think. I'll have to play around with the choices.

Thanks all for replying.


> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Michael
> Beddow
> Sent: Tuesday, February 13, 2001 2:50 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  xsl:include blues..
>
>
> On Tuesday, February 13, 2001 8:30 AM
> Kevin Duffey wrote
>
> > I am having two dilemas with using an XSL include. First, I want to
> include
> > a "header" and "footer" on every page. The header would be the
> opening HTML
> > (<html><head></head><body>), and the footer would be the closing
> > </body></html>.
>
> Do you really *have* to put the <body> into your header and the
> </body> into your footer (ditto for <html></html>, since every html
> page needs those tags anyway?
>
> Why not keep the <html> and <body> etc in your main sheet and just
> import the (presumably) different contents you want to have, which
> could then be well formed? This is part of what Oliver and Robert have
> proposed in their more detailed answers, but I thought it was worth
> emphasising what seems to me the core of your problem.
>
> Michael
> ------------------------------------------
> Michael Beddow
> http://www.mbeddow.net/
>
>
>  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.