/[volute]/trunk/projects/theory/snapdm/res/xmi2intermediate.xsl
ViewVC logotype

Diff of /trunk/projects/theory/snapdm/res/xmi2intermediate.xsl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 176 by bourges.laurent, Wed Apr 2 17:46:26 2008 UTC revision 177 by gerard.lemson, Fri Apr 4 06:30:24 2008 UTC
# Line 83  Line 83 
83          <xsl:apply-templates select="ownedComment"/>          <xsl:apply-templates select="ownedComment"/>
84          &cr;          &cr;
85                    
86            <xsl:if test="count(./*[@xmi:type='uml:Dependency']) > 0">
87              &cr;
88              <xsl:comment> Dependencies </xsl:comment>&cr;&cr;
89              
90              <xsl:apply-templates select="./*[@xmi:type='uml:Dependency']"/>
91            </xsl:if>
92          <xsl:if test="count(./*[@xmi:type='uml:DataType']) > 0">          <xsl:if test="count(./*[@xmi:type='uml:DataType']) > 0">
93            &cr;            &cr;
94            <xsl:comment> Data types </xsl:comment>&cr;&cr;            <xsl:comment> Data types </xsl:comment>&cr;&cr;
# Line 112  Line 118 
118    </xsl:template>    </xsl:template>
119        
120        
121      <xsl:template match="*[@xmi:type='uml:Dependency']">
122        <xsl:element name="depends">
123          <xsl:attribute name="xmiidref"><xsl:value-of select="supplier/@xmi:idref"/></xsl:attribute>
124        </xsl:element>
125      </xsl:template>
126        
127      
128    
129    
130    <xsl:template match="*[@xmi:type='uml:Class']">    <xsl:template match="*[@xmi:type='uml:Class']">
131      <xsl:element name="objectType">      <xsl:element name="objectType">
132        <xsl:attribute name="xmiid"><xsl:value-of select="@xmi:id"></xsl:value-of></xsl:attribute>        <xsl:attribute name="xmiid"><xsl:value-of select="@xmi:id"></xsl:value-of></xsl:attribute>

Legend:
Removed from v.176  
changed lines
  Added in v.177

msdemlei@ari.uni-heidelberg.de
ViewVC Help
Powered by ViewVC 1.1.26