Author: ruwan
Date: Wed Jul 14 08:42:16 2010
New Revision: 963974

URL: http://svn.apache.org/viewvc?rev=963974&view=rev
Log:
fixing the indentation problems in the migration tool

Modified:
    
synapse/trunk/java/modules/migrator/src/main/resources/synapse-configuration-migrator.xslt

Modified: 
synapse/trunk/java/modules/migrator/src/main/resources/synapse-configuration-migrator.xslt
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/migrator/src/main/resources/synapse-configuration-migrator.xslt?rev=963974&r1=963973&r2=963974&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/migrator/src/main/resources/synapse-configuration-migrator.xslt
 (original)
+++ 
synapse/trunk/java/modules/migrator/src/main/resources/synapse-configuration-migrator.xslt
 Wed Jul 14 08:42:16 2010
@@ -38,6 +38,9 @@ This is the synapse migration xslt which
 
     <xsl:template match="syn:definitions | synNew:definitions" priority="1">
         <xsl:element name="definitions" 
namespace="http://synapse.apache.org/ns/2010/04/configuration";>
+            <xsl:text>
+
+</xsl:text>
             <xsl:if test="not(syn:sequen...@name='main'] or 
synNew:sequen...@name='main'])">
                 <xsl:element name="sequence" 
namespace="http://synapse.apache.org/ns/2010/04/configuration";>
                     <xsl:attribute name="name">main</xsl:attribute>
@@ -60,9 +63,14 @@ This is the synapse migration xslt which
             <xsl:for-each select="syn:* | synNew:* | comment()">
                 <xsl:if test="local-name()='sequence' or 
local-name()='localEntry' or local-name()='proxy' or local-name()='task' or 
local-name()='endpoint'">
                     <xsl:apply-templates select="."/>
+                    <xsl:text>
+
+</xsl:text>
                 </xsl:if>
                 <xsl:if test="self::comment() and 
(local-name(following-sibling::*[position()=1])='localEntry' or 
local-name(following-sibling::*[position()=1])='proxy' or 
local-name(following-sibling::*[position()=1])='task' or 
local-name(following-sibling::*[position()=1])='sequence' or 
local-name(following-sibling::*[position()=1])='endpoint')">
                     <xsl:copy-of select="self::comment()" 
xml:space="preserve"/>
+                    <xsl:text>
+</xsl:text>
                 </xsl:if>
             </xsl:for-each>
         </xsl:element>


Reply via email to