[jbpm-commits] JBoss JBPM SVN: r6782 - projects/migration_tool/trunk/src/main/resources.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Oct 21 17:09:38 EDT 2010


Author: MohReece
Date: 2010-10-21 17:09:38 -0400 (Thu, 21 Oct 2010)
New Revision: 6782

Added:
   projects/migration_tool/trunk/src/main/resources/jpdl3-bpmn2.xsl
Log:
First baby step for the jPDL3->BPMN2 stylesheet.

Added: projects/migration_tool/trunk/src/main/resources/jpdl3-bpmn2.xsl
===================================================================
--- projects/migration_tool/trunk/src/main/resources/jpdl3-bpmn2.xsl	                        (rev 0)
+++ projects/migration_tool/trunk/src/main/resources/jpdl3-bpmn2.xsl	2010-10-21 21:09:38 UTC (rev 6782)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+    <xsl:template match="/process-definition">
+        <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
+            xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
+            xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
+            xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
+            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+            targetNamespace="http://www.jbpm.org/">
+            <xsl:attribute name="name"> 
+                <xsl:value-of select="@name" />
+            </xsl:attribute>
+
+            <xsl:apply-templates />
+
+        </definitions>
+    </xsl:template>
+
+    <!-- TODO: Include templates for the missing jPDL elements. -->
+
+</xsl:stylesheet>


Property changes on: projects/migration_tool/trunk/src/main/resources/jpdl3-bpmn2.xsl
___________________________________________________________________
Name: svn:mime-type
   + text/plain



More information about the jbpm-commits mailing list