Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


XSLT: Style Free Style Sheets

December 11, 2000

Eric van der Vlist, a writer for xmlhack and XML.com, spoke about "Style Free" XSLT, the purpose of which is to separate data from application logic and also from presentation. It was his opinion that permitting presentation information in XSLT creates problems. He gave the example of a French XML web site, <XML>fr, to illustrate the problem:

source.xml + style.xslt = page.html

The solution is to replace style.xslt with a layout.xml piece for generic structure of the page and also a logic.xslt for the processing.

source.xml + layout.xml + logic.xslt = page.html

But this wasn't sufficient when you need to completely separate the presentation from the data. He tried creating a spec-layout.xml to define a specific part of the page.

spec-layout.xml + content.xml + layout.xml + logic2.xslt = page.html

Code that implements this can be downloaded from 4xt.org.

Readers interested in XSLT might want to check out the OASIS XSLT/XPath Conformance effort, chaired by Ken Holman, who offers extensive XSLT/XPath training.

XML Schema Best Practices: The Roger Costello Show
What Happened at XML 2000?
XML Query Algebra - Does it Add Up?


Up to => Home / Authoring / Languages / XML / Conferences / XML2000




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers