You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by lg...@apache.org on 2005/12/25 14:55:46 UTC

svn commit: r358973 - in /cocoon/blocks/template/trunk/test/org/apache/cocoon/template/jxtg: jxSet-output.xml jxSet.xml

Author: lgawron
Date: Sun Dec 25 05:55:20 2005
New Revision: 358973

URL: http://svn.apache.org/viewcvs?rev=358973&view=rev
Log:
A testcase for <jx:set var="a">content here</jx:set>

Modified:
    cocoon/blocks/template/trunk/test/org/apache/cocoon/template/jxtg/jxSet-output.xml
    cocoon/blocks/template/trunk/test/org/apache/cocoon/template/jxtg/jxSet.xml

Modified: cocoon/blocks/template/trunk/test/org/apache/cocoon/template/jxtg/jxSet-output.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/template/trunk/test/org/apache/cocoon/template/jxtg/jxSet-output.xml?rev=358973&r1=358972&r2=358973&view=diff
==============================================================================
--- cocoon/blocks/template/trunk/test/org/apache/cocoon/template/jxtg/jxSet-output.xml (original)
+++ cocoon/blocks/template/trunk/test/org/apache/cocoon/template/jxtg/jxSet-output.xml Sun Dec 25 05:55:20 2005
@@ -1,7 +1,5 @@
 <?xml version="1.0"?>
-
 <root>
-
   <test1>
     foo
   </test1>
@@ -10,4 +8,7 @@
     bar
   </test2>
 
+	<test3>
+		<node1>value</node1><node2>value2</node2>
+	</test3>
 </root>

Modified: cocoon/blocks/template/trunk/test/org/apache/cocoon/template/jxtg/jxSet.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/template/trunk/test/org/apache/cocoon/template/jxtg/jxSet.xml?rev=358973&r1=358972&r2=358973&view=diff
==============================================================================
--- cocoon/blocks/template/trunk/test/org/apache/cocoon/template/jxtg/jxSet.xml (original)
+++ cocoon/blocks/template/trunk/test/org/apache/cocoon/template/jxtg/jxSet.xml Sun Dec 25 05:55:20 2005
@@ -10,5 +10,9 @@
     <jx:set var="ignored" value="${map.put('foo', 'bar')}"/>
     <jx:out value="${map.foo}"/>
   </test2>
-
+  
+  <test3>
+  	<jx:set var="var3"><node1>value</node1><node2>value2</node2></jx:set>
+  	<jx:out value="${var3}"/>
+  </test3>
 </root>