cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r618372 - /cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/selection-list2json.xsl
Date Mon, 04 Feb 2008 18:38:13 GMT
Author: antonio
Date: Mon Feb  4 10:38:13 2008
New Revision: 618372

URL: http://svn.apache.org/viewvc?rev=618372&view=rev
Log:
Reduce the size of the json repsonse.

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/selection-list2json.xsl

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/selection-list2json.xsl
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/selection-list2json.xsl?rev=618372&r1=618371&r2=618372&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/selection-list2json.xsl
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/selection-list2json.xsl
Mon Feb  4 10:38:13 2008
@@ -17,7 +17,7 @@
 -->
 <!--
   Transforms a fi:selection-list into a JSON fragment.
-  
+
   @version $Id$
 -->
 
@@ -25,6 +25,7 @@
   version="1.0"
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   xmlns:fi="http://apache.org/cocoon/forms/1.0#instance">
+  <xsl:strip-space elements="*"/>
 
 <xsl:template match="fi:selection-list">
   <dummy-root>
@@ -54,4 +55,5 @@
   </xsl:if>
 </xsl:template>
 
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
+



Mime
View raw message