- XTP (XML Template Pages) Introduction
XTP (XML Template Pages) enhances JSP pages with stylesheets.
Sophisticated projects can split page formatting from the
JSP-generated content. Splitting the graphic design from the
JSP programming helps a web site in several ways:
- User's Guide
- How XTP works
- XTP Copy
For most XTP pages, the default XSLT transormation you want is to
copy the input into the output.
A major advantage of XTP is its separation of content from formatting.
Your source documents can use meaningful markup tags letting the stylesheet
format the output.
- Link Rewriting
XTP can be used to rewrite links.
- JSP tag libraries with XSL
XML Template Pages encourages web sites to create JSP tag libraries.
By putting the JSP creation in stylesheets, you can separate the
programming from the web pages.
'StyleScript' adds some syntactic sugar to XSLT to make stylesheets more
- Tag Libraries
XTP Template Pages can be used to create JSP tag libraries.
- XTP Tutorials
- Servlet Filter with XTP -- Vary
This example uses a servlet filter to select the stylesheet
that is used for XTP pages.
|Copyright © 1998-2006 Caucho Technology, Inc. All rights reserved.|
Resin® is a registered trademark,
and HardCoretm and Quercustm are trademarks of Caucho Technology, Inc.