You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gu...@apache.org on 2010/06/09 15:42:43 UTC

svn commit: r953002 - /commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/xslt/export.xsl

Author: guixl
Date: Wed Jun  9 13:42:43 2010
New Revision: 953002

URL: http://svn.apache.org/viewvc?rev=953002&view=rev
Log:
improve SCXML export xslt convert file

Modified:
    commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/xslt/export.xsl

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/xslt/export.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/xslt/export.xsl?rev=953002&r1=953001&r2=953002&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/xslt/export.xsl (original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/xslt/export.xsl Wed Jun  9 13:42:43 2010
@@ -3,9 +3,9 @@
 <xsl:output method="xml" encoding="utf-8"/>
 
 <xsl:template match="/">
-	<xsl:element name="scxml">
-		<xsl:apply-templates/>
-	</xsl:element>
+		<scxml version="1.0" xmlns="http://www.w3.org/2005/07/scxml">
+			<xsl:apply-templates/>
+		</scxml>
 </xsl:template>
 
 <xsl:template match="stateList">