diff _test/Resources/sample.xml @ 220:5c82c15b25b1

sync, updated schema
author sergey
date Thu, 23 Aug 2012 17:44:31 +0400
parents c477f24f1980
children e997e6fbac0b
line wrap: on
line diff
--- a/_test/Resources/sample.xml	Tue Aug 21 17:13:47 2012 +0400
+++ b/_test/Resources/sample.xml	Thu Aug 23 17:44:31 2012 +0400
@@ -2,18 +2,20 @@
 <resources xmlns="http://implab.org/schemas/resources" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://implab.org/schemas/resources resources.xsd ">
     <root>
         <get>
-            <bind invoke="."/>
-            <parameters></parameters>
-            <redirect>
+            <bind text="model"/>
+            <result xsi:type="redirectResult">
                 <locator>
-                    <bind invoke="id"/>
+                    <var name="id" text="model.id"/>
+                    <var name="parent" text="parent.location"/>
                     <template>$parent/$id</template>
                 </locator>
-            </redirect>
+            </result>
         </get>
     </root>
     <typeMap>
         <item></item>
         <item></item>
     </typeMap>
+    <locators>
+    </locators>
 </resources>
\ No newline at end of file