Author: nettings
Date: Sun Aug 12 13:32:54 2007
New Revision: 565138
URL: http://svn.apache.org/viewvc?view=rev&rev=565138
Log:
update resource type tutorial to reflect configuration change
Modified:
lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/resourcetype/part1.xml
Modified: lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/resourcetype/part1.xml
URL: http://svn.apache.org/viewvc/lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/resourcetype/part1.xml?view=diff&rev=565138&r1=565137&r2=565138
==============================================================================
--- lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/resourcetype/part1.xml (original)
+++ lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/resourcetype/part1.xml Sun Aug 12 13:32:54 2007
@@ -125,13 +125,19 @@
<component-instance name="person" logger="lenya.resourcetypes"
class="org.apache.lenya.cms.publication.ResourceTypeImpl">
- <schema language="http://relaxng.org/ns/structure/0.9"
- src="fallback://lenya/modules/person/resources/schemas/foaf.rng"/>
+ <schema
+ namespace="http://relaxng.org/ns/structure/0.9"
+ uri="fallback://lenya/modules/person/resources/schemas/foaf.rng"
+ />
- <!-- Default time in seconds until the resource-type has expired -->
+ <!-- Default time cache time in seconds for this resource type -->
<expires seconds="3600" />
- <sample-name mime-type="application/rdf+xml">fallback://lenya/modules/person/samples/foaf.xml</sample-name>
+ <sample
+ name="Basic FOAF sample"
+ mime-type="application/rdf+xml"
+ uri="fallback://lenya/modules/person/samples/foaf.xml"
+ />
<format name="xhtml" uri="cocoon://modules/person/xhtml.xml"/>
<format name="xhtml-include" uri="cocoon://modules/person/xhtml-include.xml"/>
@@ -172,4 +178,4 @@
</section>
</body>
-</document>
\ No newline at end of file
+</document>
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.