[Yanel-commits] rev 32714 -
public/yanel/trunk/src/resources/xml/yanel-htdocs/doc
michi at wyona.com
michi at wyona.com
Sat Mar 1 16:02:52 CET 2008
Author: michi
Date: 2008-03-01 16:02:51 +0100 (Sat, 01 Mar 2008)
New Revision: 32714
Modified:
public/yanel/trunk/src/resources/xml/yanel-htdocs/doc/index.html
Log:
default example added
Modified: public/yanel/trunk/src/resources/xml/yanel-htdocs/doc/index.html
===================================================================
--- public/yanel/trunk/src/resources/xml/yanel-htdocs/doc/index.html 2008-03-01 14:54:06 UTC (rev 32713)
+++ public/yanel/trunk/src/resources/xml/yanel-htdocs/doc/index.html 2008-03-01 15:02:51 UTC (rev 32714)
@@ -48,17 +48,22 @@
</dl>
<h2>Examples</h2>
-<!--
- <p><b>Redirect to some other url, which is also used as default/fallback redirect if custom configuration doesn't match (please see below)</b></p>
+ <p><b>Default view</b></p>
<pre>
<yanel:resource-config xmlns:yanel="http://www.wyona.org/yanel/rti/1.0">
- <yanel:rti name="redirect" namespace="http://www.wyona.org/yanel/resource/1.0"/>
+ <yanel:xml name="redirect" namespace="http://www.wyona.org/yanel/resource/1.0"/>
- <yanel:property name="href" value="http://www.nyt.com"/>
+ <yanel:property name="mime-type" value="text/html"/>
+ <yanel:property name="source-view-mime-type" value="application/xhtml+xml"/>
+
+ <yanel:property name="xslt" value="/xslt/body.xsl"/>
+ <yanel:property name="xslt" value="/xslt/global.xsl"/>
+
+ <yanel:property name="yanel-path" value="/hello/world.xhtml"/>
+ <yanel:property name="workflow-schema" value="/workflows/workflow-with-review.xml"/>
</yanel:resource-config>
</pre>
--->
<p><b>Custom views</b></p>
@@ -81,5 +86,9 @@
</yanel:resource-config>
</pre>
+<p>
+Available serializers are HTML_TRANSITIONAL, XHTML_STRICT, XML, TEXT (whereas default is XHTML_STRICT). See src/impl/java/org/wyona/yanel/impl/resources/BasicXMLResource.java for details.
+</p>
+
</body>
</html>
More information about the Yanel-commits
mailing list