[Volute] r5275 - trunk/projects/dm/vo-dml/tools/xslt

Volute commit messages volutecommits at g-vo.org
Wed Dec 12 21:25:58 CET 2018


Author: mdittmar
Date: Wed Dec 12 21:25:58 2018
New Revision: 5275

Log:
catch isOrdered within compositions

Modified:
   trunk/projects/dm/vo-dml/tools/xslt/xmi2vo-dml_Modelio_UML2.4.1.xsl

Modified: trunk/projects/dm/vo-dml/tools/xslt/xmi2vo-dml_Modelio_UML2.4.1.xsl
==============================================================================
--- trunk/projects/dm/vo-dml/tools/xslt/xmi2vo-dml_Modelio_UML2.4.1.xsl	Wed Dec 12 16:44:17 2018	(r5274)
+++ trunk/projects/dm/vo-dml/tools/xslt/xmi2vo-dml_Modelio_UML2.4.1.xsl	Wed Dec 12 21:25:58 2018	(r5275)
@@ -493,10 +493,10 @@
         </xsl:element>
       </xsl:if>
       <!-- check for isOrdered -->
-      <xsl:if test="/xmi:XMI/IVOA_UML_Profile:composition[@base_Property=$xmiid]/@isOrdered">
-      <xsl:element name="isOrdered">
-        <xsl:value-of select="/xmi:XMI/IVOA_UML_Profile:composition[@base_Property=$xmiid]/@isOrdered"/>
-      </xsl:element>
+      <xsl:if test="./@isOrdered = 'true'">
+	<xsl:element name="isOrdered">
+          <xsl:value-of select="'true'"/>
+	</xsl:element>
       </xsl:if>
     </xsl:element>
   </xsl:template>


More information about the Volutecommits mailing list