home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
- <!--
- Copyright 1999-2004 The Apache Software Foundation
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
- <!-- CVS: $Id: scratchpad-samples.xml,v 1.12 2004/04/05 12:25:36 antonio Exp $ -->
-
- <samples xmlns:xlink="http://www.w3.org/1999/xlink" name="Scratchpad Samples">
-
- <group name="Back">
- <sample name="Back" href="../..">to Cocoon Samples main page</sample>
- <sample name="Back" href="..">to Cocoon Blocks Samples main page</sample>
- </group>
-
- <group name="Garbage">
- <sample name="Garbage" href="garbage/">
- Flowscript Calculator Sample using Garbage Template Generator
- </sample>
- </group>
-
- <group name="Castor">
- <sample name="CastorTransformer" href="castor/">
- Show the usage of the Castor Transformer.
- </sample>
- </group>
-
- <group name="Jelly">
- <sample name="Test 1" href="jelly/test1">
- A test of the Jelly generator - you have to download and install the jelly.jar first!
- </sample>
- <sample name="Test 2" href="jelly/test2">
- A test of the Jelly generator - you have to download and install the jelly.jar first!
- </sample>
- </group>
-
- <group name="Intercepted Flow">
- <sample name="Example" href="intercepted-flow/">
- Show the usage intercepted JavaScript flow functions
- </sample>
- </group>
-
- <group name="Image-Based Authentication">
- <sample name="Image Auth" href="image-auth/">
- An example of image-based authentication using the Flow layer.
- Make sure the Batik block is included before testing this sample.
- </sample>
- </group>
-
- <group name="Betwixt">
- <sample name="Example" href="betwixt/">
- Show the usage of the Betwixt Transformer
- </sample>
- </group>
-
- <group name="Sitemap Viewer">
- <sample name="Sitemap Viewer" href="sitemap-viewer/">
- Experimental sitemap viewer
- </sample>
- </group>
-
- <group name="Othello">
- <sample name="Example" href="othello/">Template based static web site.</sample>
- </group>
-
- <group name="Sources">
- <sample name="Simple ZIP source example" href="sources/simple-zip.xml">Read file from ZIP archive</sample>
- <sample name="OpenOffice - content.xml" href="sources/simple-swx.xml">
- Use again the ZIP source getting a zipped file as OpenOffice files are ZIP archives
- </sample>
- </group>
-
- <group name="XModule Source">
- <sample name="Create"
- href="xmodule-source/insert?file=test.xml&url=xmodule:session-attr:test">
- Populate a session attribute "test" with a dom tree created from the file "test.xml".
- </sample>
- <sample name="Read"
- href="xmodule-source/test-view?url=xmodule:session-attr:test&xPathIn=page/body">
- Read xml from the session attribute "test" at the XPath position "page/body".
- </sample>
- <sample name="Insert"
- href="xmodule-source/insert?file=insert.xml&url=xmodule:session-attr:test&xPathOut=page/body/p">
- Insert a dom tree created from the file "insert.xml", at the
- XPath position "page/body/p" in the session attribute "test".
- </sample>
- <sample name="Delete"
- href="xmodule-source/delete?url=xmodule:session-attr:test&xPath=page/body/p">
- Delete the content at theXPath position "page/body/p" in the
- session attribute "test".
- </sample>
- </group>
-
- <group name="Module Source">
- <sample name="Request URI"
- href="module-source/test1">
- Use a source that reads from a request URI.
- </sample>
- <sample name="Text field"
- href="module-source/test2">
- Use a source that reads from a input text field.
- </sample>
- <sample name="XML text field"
- href="module-source/test4">
- Read XML data from a text field. Also demonstrates the use of
- input from multi part mime posts and require that uploads are
- enabled in web.xml.
- </sample>
- </group>
-
- </samples>
-