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

[ANN] Resin supports XPath/XSLT July draft

Subject: [ANN] Resin supports XPath/XSLT July draft
From: Scott Ferguson <ferg@xxxxxxxxxx>
Date: Thu, 12 Aug 1999 03:50:54 +0000
resin xml xpath jsp
The latest Resin beta now supports the XSLT July draft for HTML and JSP
generation.   Resin focuses on server page generation using XSLT, although it does
include a standalone XSLT processor.  Resin's XML Template Pages (XTP) separates
page contents from server-side scripting and styling.  XSLT stylesheets are
responsible for generating the server-side scripting using JSP.  In contrast, other
server page generators, like ASP, PHP and JSP, mix scripting with HTML.

The Resin home page is http://www.caucho.com

Some of the Resin features:
  * Generates JSP using stylesheets.
  * Stylesheets compile to JavaScript or Java at the user's direction.
  * Templates can use JavaScript or Java to access Java libraries like JDBC with
xtp:expression and xtp:scriptlet tags
  * Cached pages are served nearly as fast as static pages.  Cached generated JSP
pages execute as
     fast as servlets
  * Generation and application of XSL stylesheets are available as Java APIs.
  * XPath queries are also available as a Java API, allowing querying and selection
of DOM trees.
  * Included servlet 2.1 engine, web server, Apache and IIS supports a wide range
of deployment options.

As a trivial example of using Resin to create JSP, the following template creates
JSP to print a query variable:

<xsl:template match='ct:query'>
  <jsp:expression>
    request.getParameter("<xsl:value-of select='@name'>")
  </jsp:expression>
</xsl:template>

The sample xtp file might contain a section like:

First Name: <ct:query name='first-name'/><br/>
Last Name: <ct:query name='last-name'/>

When called to process a form submission, it would produce the HTML:

First Name: Scott<br>
Last Name: Ferguson


Scott Ferguson
Caucho Technology
http://www.caucho.com



 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.