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

Streamline xslt

Subject: Streamline xslt
From: Geoff <ghank@xxxxxxxxxxx>
Date: 25 Sep 2002 12:26:25 -0500
streamline stylus
I love using XSLT because I can expose my web pages as xml and use xslt
to transform the xml into html or something else like wml. The
presentation is cleanly separated from content.

The problem I see is if I need to change the presentation. I'm sure
someday at some point someone will say let's give the Website a new
look. Each "page" has a php script that either points to an xml file or
creates xml on the fly, then points to an xsl file and passes this to
the Sablotron processor. To change the site design I have to update each
xsl file in the site.The html is the same for each xsl stylesheet except
the part where the xsl code lives.So ideally I would divide the file
into header.inc, the xsl part and footer.inc.

The first thought I had was use includes. Php includes won't work
because the first thing the Sablotron processor sees is <?php //php code
?>. I assume the same problem occurs with Apache includes.
XSL includes must be well formed xml documents so that wouldn't work
either.

Any suggestions?


 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.