[Yanel-commits] rev 53458 - public/yanel/trunk/src/resources/xml

michi at wyona.com michi at wyona.com
Thu Sep 23 11:12:10 CEST 2010


Author: michi
Date: 2010-09-23 11:12:10 +0200 (Thu, 23 Sep 2010)
New Revision: 53458

Modified:
   public/yanel/trunk/src/resources/xml/resource.xml
Log:
thanks to Paul Bakker we now have improved descriptions of the XML resource type properties

Modified: public/yanel/trunk/src/resources/xml/resource.xml
===================================================================
--- public/yanel/trunk/src/resources/xml/resource.xml	2010-09-23 07:41:49 UTC (rev 53457)
+++ public/yanel/trunk/src/resources/xml/resource.xml	2010-09-23 09:12:10 UTC (rev 53458)
@@ -10,12 +10,12 @@
 </description>
 
 <rtd>
-  <property name="mime-type"/>
-  <property name="source-view-mime-type"/>
-  <property name="xslt" multiple="true"/>
+  <property name="mime-type"/> <!-- optional -->
+  <property name="source-view-mime-type"/> <!-- TODO: Description -->
+  <property name="xslt" multiple="true"/> <!-- optional, if not set, the the source XML will be sent as response -->
 
   <!-- "yanel-path" allows to instantiate another resource which provides XML (or retrieve an XML from the content repository of the realm). For example value="/sitetree-en.xml" or value="yanelresource:/hello.xml" or "http://127.0.0.1:8080/yanel/from-scratch-realm/en/index.html?yanel.resource.viewid=sourc" -->
-  <property name="yanel-path"/>
-  <property name="workflow-schema"/>
+  <property name="yanel-path"/> <!-- optional, if not set, then a 1:1 resolving will be applied -->
+  <property name="workflow-schema"/> <!-- optional -->
 </rtd>
 </resource>



More information about the Yanel-commits mailing list