Hi i am using XSLT transformation to transform one xmi file to uml file. In my xml files i have two different nodes:
First node:
<ownedAttribute xmi:type="uml:Property" xmi:id="EAID_9D13F3CF_4FDB_46bc_B47F_8B4DC9C6DADD"
name="Part2"
visibility="public"
aggregation="composite"/>
Second node:
<Profile:AND base_Part="EAID_9D13F3CF_4FDB_46bc_B47F_8B4DC9C6DADD"/>
what i am trying to do is that every time the xmi:id of the uml:property matches with the base_Part of the profile i want to save the base_part valeu. In my xslt transformation i have a transformation class for the owned attribute and there i am trying to compare this two values mentioned above. the comparison i am trying to do is smth like this:
<xsl:if test= "@xmi:id= ´EAID_9D13F3CF_4FDB_46bc_B47F_8B4DC9C6DADD'">
<xsl:sequence
select="fn:createAtt('association','9D13F3CF-4FDB-46bc-B47F-8B4DC9C6DADD')" />
</xsl:if>
Of course with the static values i have putted it works. What i need to know is how to read the base_Part value of the Profile:AND ?
thank you in advance,