Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 97744 invoked from network); 9 Jan 2000 23:45:35 -0000 Received: from taz.hyperreal.org (HELO hyperreal.org) (209.133.83.16) by 63.211.145.10 with SMTP; 9 Jan 2000 23:45:35 -0000 Received: (qmail 577 invoked by uid 2016); 9 Jan 2000 23:44:20 -0000 Delivered-To: apcore-xml-cocoon-cvs@apache.org Received: (qmail 575 invoked from network); 9 Jan 2000 23:44:20 -0000 Received: from unknown (HELO locus.apache.org) (63.211.145.10) by taz.hyperreal.org with SMTP; 9 Jan 2000 23:44:20 -0000 Received: (qmail 97036 invoked by uid 1010); 9 Jan 2000 23:44:19 -0000 Date: 9 Jan 2000 23:44:19 -0000 Message-ID: <20000109234419.97035.qmail@locus.apache.org> From: stefano@locus.apache.org To: xml-cocoon-cvs@apache.org Subject: cvs commit: xml-cocoon/samples/xsp lib-page.xml stefano 00/01/09 15:44:19 Modified: samples README index.xml samples/hello hello-page-html.xsl samples/xsp lib-page.xml Added: samples/entities entities-page-html.xsl entities-page.xml message.txt samples/import import-page-html.xsl import-page.xml Log: added some samples to show XML external entities and XSTL import Revision Changes Path 1.3 +7 -1 xml-cocoon/samples/README Index: README =================================================================== RCS file: /home/cvs/xml-cocoon/samples/README,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- README 1999/11/30 16:29:58 1.2 +++ README 2000/01/09 23:44:17 1.3 @@ -7,13 +7,19 @@ how to XML-ize your web-serving environment. - hello ................. a simple hello world example + - entities .............. shows XML external entities + - import ................ shows XSLT imports - sites ................. some live Apache web sites XML-ized - fo .................... examples regarding XSL formatting objects - wap ................... how to turn your site wireless ready with WML - vml ................... how to turn your site voice ready with VoiceML - - sql ................... how to XML-ize your legacy rational data + - sql ................... how to XML-ize your rational data - dcp ................... how to add dynamic PI evaluation - xsp ................... examples to show XML compiled server pages + - ldap .................. how to XML-ize your LDAP data + - vrml .................. how to use Cocoon to generate VRML + - fromServlet ........... how to call Cocoon from another servlet + Filenames --------- 1.6 +9 -0 xml-cocoon/samples/index.xml Index: index.xml =================================================================== RCS file: /home/cvs/xml-cocoon/samples/index.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- index.xml 2000/01/05 16:13:30 1.5 +++ index.xml 2000/01/09 23:44:18 1.6 @@ -8,6 +8,15 @@ This is a very simple demostration of how to use Cocoon. A simple XML page is transformed into an HTML page. + + This is a very simple demostration of how to use Cocoon. Same page as above, + but some of its content is included using XML external entities. + + + This is a very simple demostration of how to use Cocoon. Same page as above, + but its stylesheet is an extention of the previous one and changes some + of its properties. + 1.1 xml-cocoon/samples/entities/entities-page-html.xsl Index: entities-page-html.xsl =================================================================== ]> type="text/html" <xsl:value-of select="title"/><xsl:text> - &message;</xsl:text>

1.1 xml-cocoon/samples/entities/entities-page.xml Index: entities-page.xml =================================================================== ]> Hello &message; 1.1 xml-cocoon/samples/entities/message.txt Index: message.txt =================================================================== This is an included message. 1.3 +0 -2 xml-cocoon/samples/hello/hello-page-html.xsl Index: hello-page-html.xsl =================================================================== RCS file: /home/cvs/xml-cocoon/samples/hello/hello-page-html.xsl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- hello-page-html.xsl 1999/12/02 11:55:02 1.2 +++ hello-page-html.xsl 2000/01/09 23:44:18 1.3 @@ -2,8 +2,6 @@ - - 1.1 xml-cocoon/samples/import/import-page-html.xsl Index: import-page-html.xsl ===================================================================

1.1 xml-cocoon/samples/import/import-page.xml Index: import-page.xml =================================================================== Hello This is my first Cocoon file! 1.4 +6 -29 xml-cocoon/samples/xsp/lib-page.xml Index: lib-page.xml =================================================================== RCS file: /home/cvs/xml-cocoon/samples/xsp/lib-page.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- lib-page.xml 2000/01/08 07:19:37 1.3 +++ lib-page.xml 2000/01/09 23:44:19 1.4 @@ -1,7 +1,7 @@ - + @@ -63,34 +63,11 @@ further processing of the produced content, as required, for example, by XSL-transformations.

- -

Here are the request headers...

- - - - - - - - - - -
- - -

and here the servlet parameters that were passed along with the request...

- - - - - - - - - - -
- + +

All right, the first XSP page is over, but you can see the dynamically syntax highlighted source of this page, the servlet request library logicsheet,