Subject: [ANN] Resin supports XPath/XSLT July draft From: Scott Ferguson <ferg@xxxxxxxxxx> Date: Thu, 12 Aug 1999 03:50:54 +0000 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Weird IE5 behaviour, Senthil Vaiyapuri | Thread | RE: Oracle and XML/XSL, Sargeant, Richard (G |
Weird IE5 behaviour, Senthil Vaiyapuri | Date | RE: Oracle and XML/XSL, Sargeant, Richard (G |
Month |