stefano 2003/02/20 12:00:14 Added: src/webapp welcome.xml welcome.xslt Log: the super-simple welcome pipeline Revision Changes Path 1.1 xml-cocoon2/src/webapp/welcome.xml Index: welcome.xml =================================================================== <?xml version="1.0"?> <!--+ | This is a very simple XML page done just to show how a simple | cocoon pipeline works. +--> <welcome> <message> Congratulations! If you are reading this page, it means that your Cocoon installation was successful. </message> </welcome> 1.1 xml-cocoon2/src/webapp/welcome.xslt Index: welcome.xslt =================================================================== <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="welcome"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Welcome to Cocoon!</title> <link href="styles/cocoon.css" type="text/css" rel="stylesheet"/> <link href="favicon.ico" rel="SHORTCUT ICON" /> </head> <body> <h1>Welcome to Cocoon!</h1> <xsl:apply-templates/> <p class="block"> <a href="http://cocoon.apache.org/"><img src="images/powered.gif" alt="Powered by Cocoon"/></a> </p> <p class="copyright"> Copyright © @year@ <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. </p> </body> </html> </xsl:template> <xsl:template match="message"> <p class="block"><xsl:apply-templates/></p> </xsl:template> </xsl:stylesheet>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]