|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL and server side includes
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








