unico 2003/10/28 06:08:50
Modified: src/blocks/repository/java/org/apache/cocoon/generation
XPathTraversableGenerator.java
Log:
documentation improvements
Revision Changes Path
1.3 +10 -10
cocoon-2.1/src/blocks/repository/java/org/apache/cocoon/generation/XPathTraversableGenerator.java
Index: XPathTraversableGenerator.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/repository/java/org/apache/cocoon/generation/XPathTraversableGenerator.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XPathTraversableGenerator.java 24 Oct 2003 08:47:33 -0000 1.2
+++ XPathTraversableGenerator.java 28 Oct 2003 14:08:50 -0000 1.3
@@ -109,21 +109,21 @@
* Request:
* http://www.some.host/documents/test
* Result:
- * <dir:directory
+ * <collection:collection
* name="test" lastModified="1010400942000"
* date="1/7/02 11:55 AM" requested="true"
- * xmlns:dir="http://apache.org/cocoon/directory/2.0">
- * <dir:directory name="subdirectory" lastModified="1010400942000"
date="1/7/02 11:55 AM" />
- * <dir:file name="test.xml" lastModified="1011011579000" date="1/14/02
1:32 PM">
- * <dir:xpath docid="test.xml" query="/article/title">
+ * xmlns:collection="http://apache.org/cocoon/collection/1.0">
+ * <collection:collection name="subdirectory"
lastModified="1010400942000" date="1/7/02 11:55 AM" />
+ * <collection:resource name="test.xml" lastModified="1011011579000"
date="1/14/02 1:32 PM">
+ * <collection:xpath docid="test.xml" query="/article/title">
* <title>This is a test document</title>
* <abstract>
* <para>Abstract of my test article</para>
* </abstract>
- * </dir:xpath>
- * </dir:file>
- * <dir:file name="test.gif" lastModified="1011011579000" date="1/14/02
1:32 PM">
- * </dir:directory>
+ * </collection:xpath>
+ * </collection:resource>
+ * <collection:resource name="test.gif" lastModified="1011011579000"
date="1/14/02 1:32 PM">
+ * </collection:collection>
*
* If you need to use namespaces, you can set them as sitemap parameters in
* the form: