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

Re: XSL and server side includes

Subject: Re: XSL and server side includes
From: "David Halsted" <halstedd@xxxxxxxxxx>
Date: Mon, 15 May 2000 21:12:02 -0400
server side include xsl
You could store the includes as entities in a DTD and call them that way, or
you could make up an XML file of the includes and bring them in using
document().

----- Original Message -----
From: Richard Robinson <webmaster@xxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxx>
Sent: Monday, May 15, 2000 8:03 PM
Subject: XSL and server side includes


> Hello,
>
> I'm just now getting up to speed on XML, XSL.
> I will be using it primarily (at least to begin with)
> to send HTML documents to browsers.
>
> Currently my HTML legacy documents use some
> boilerplate server side include files (title.inc,
> metatags_desc.inc, metatags_keywords.inc, etc).
>
> I'm sure there must be a way to do this, but I
> haven't quite wrapped my mind around it. How
> with XSL and/or XML do I get boilerplate that I
> can use inside other XML/XSL documents.
>
> I have tried putting the following lines inside an XSL
> rule.
>
> <xsl:template match="/">
> <html>
>     <head>
>     <title>My Site: <!--#include file="title.inc"--></title>
>     </head>
> </xsl:template>
>
> But the resultant HTML file merely has a title
> of <title>My Site</title> -- the INclude is not happening.
> (Presumably because the Web server is past that
> phase.)
>
> Any help you can provide would be greatly appreciated.
>
> --
> Richard Robinson, Web Administrator
> Litho Development & Research
> richardr@xxxxxxx, 503-255-5800 x172
> http://www.LDR.com
>
> --------------------------------------------
> #1 NETWORK ONLINE CATALOG
>
> Visit our #1 Network Online Catalog at http://www.no1network.com
> with over 8000 items to choose from: film, plates, chemistry, paper,
> mice, keyboards, backup devices and media. Top quality, name-brand
> products at low prices.
>
>
>
>  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.