|
78 | 78 | </xpdl:Object>
|
79 | 79 | </xsl:template>
|
80 | 80 |
|
| 81 | + <!-- **************************** Template for determing containing lane recursively ****************** --> |
| 82 | + <xsl:template name="getParentLane"> |
| 83 | + <xsl:param name="node" /> |
| 84 | + <xsl:variable name="parentRef" select="$node/a[@rel='raziel-parent']" /> |
| 85 | + <xsl:variable name="parent" select="/div[@class='processdata']/div[@id=concat('#',$parentRef)]" /> |
| 86 | + <xsl:choose> |
| 87 | + <xsl:when test="$parent/span[@class='oryx-type']='http://b3mn.org/stencilset/bpmn1.1#Lane'"> |
| 88 | + <xsl:value-of select="$parent/@id"/> |
| 89 | + </xsl:when> |
| 90 | + <xsl:otherwise> |
| 91 | + <xsl:call-template name="getParentLane"> |
| 92 | + <xsl:with-param name="node" select="$parent"/> |
| 93 | + </xsl:call-template> |
| 94 | + </xsl:variable> |
| 95 | + </xsl:otherwise> |
| 96 | + </xsl:choose> |
| 97 | +</xsl:template> |
| 98 | + |
| 99 | + |
81 | 100 | <!-- **************************** Template for NodeGraphicsInfo element ****************** -->
|
82 | 101 | <xsl:template name="nodeGraphicsInfos">
|
83 | 102 | <xsl:param name="node" />
|
|
462 | 481 | <xsl:for-each select="$Pools">
|
463 | 482 | <!-- <xsl:variable name="id" select="span[@class='oryx-id']" /> -->
|
464 | 483 | <xsl:variable name="id" select="@id" />
|
465 |
| - <xpdl:Pool |
| 484 | + <!-- <xpdl:Pool |
466 | 485 | Id="{$id}"
|
467 | 486 | Name="{span[@class='oryx-name']}"
|
468 | 487 | Process="{span[@class='oryx-processRef']}"
|
| 488 | + BoundaryVisible="{span[@class='oryx-boundaryvisible']}"> --> |
| 489 | + <xpdl:Pool |
| 490 | + Id="{$id}" |
| 491 | + Name="{span[@class='oryx-name']}" |
| 492 | + Process="{concat($id,'_process')}" |
469 | 493 | BoundaryVisible="{span[@class='oryx-boundaryvisible']}">
|
470 | 494 | <xsl:variable name="participantRef" select="span[@class='oryx-participantRef']" />
|
471 | 495 | <xsl:if test="string-length(normalize-space($participantRef))>0">
|
|
609 | 633 | <xsl:variable name="enableInstanceCompensation" select="span[@class='oryx-enableinstancecompensation']"/>
|
610 | 634 | <xsl:variable name="queryLanguage" select="span[@class='oryx-querylanguage']"/>
|
611 | 635 | <xsl:variable name="expressionLanguage" select="span[@class='oryx-expressionlanguage']"/>
|
612 |
| - <xpdl:WorkflowProcess |
| 636 | + <!-- <xpdl:WorkflowProcess |
613 | 637 | Id="{span[@class='oryx-processRef']}"
|
| 638 | + Name="{span[@class='oryx-processName']}"> --> |
| 639 | + <xpdl:WorkflowProcess |
| 640 | + Id="{concat(@id,'_process')}" |
614 | 641 | Name="{span[@class='oryx-processName']}">
|
615 | 642 | <xsl:if test="string-length(normalize-space($suppressJoinFailure))>0">
|
616 | 643 | <xsl:attribute name="SuppressJoinFailure">
|
|
0 commit comments