|
Re: Obtaing Value [message #112878 is a reply to message #112225] |
Thu, 21 February 2008 12:55 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Raphael,
Is this a question about JET? It's best to ask on the M2T newsgroup
about it. I've added it to the "to" list of this reply so Paul should
see it.
Raphael wrote:
> Hello my friends,
>
> I have the following XMI code:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Package xmi:version="2.1"
> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
> xmi:id="_L37e0NiWEdyDI-twlSn5BQ" >
> <ownedMember xmi:type="uml20:Classe" xmi:id="_NsTmgNiWEdyDI-twlSn5BQ"
> name="People" package="_L37e0NiWEdyDI-twlSn5BQ">
> </ownedMember>
> </Package>
>
> When I use the command <c:get select="Package/ownedMember/@name" /> I
> got the result: People
>
> But, IŽm trying to obtain the xmi:id from ownedMember. IŽm using the
> following command <c:get select="Package/ownedMember/@xmi:id" /> , but
> this return no value.
>
> Has anyone here know what command should I use?!?
>
> Thanks,
> Raphael
>
|
|
|
|
Re: Obtaing Value [message #615533 is a reply to message #112225] |
Thu, 21 February 2008 12:55 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
Raphael,
Is this a question about JET? It's best to ask on the M2T newsgroup
about it. I've added it to the "to" list of this reply so Paul should
see it.
Raphael wrote:
> Hello my friends,
>
> I have the following XMI code:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Package xmi:version="2.1"
> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
> xmi:id="_L37e0NiWEdyDI-twlSn5BQ" >
> <ownedMember xmi:type="uml20:Classe" xmi:id="_NsTmgNiWEdyDI-twlSn5BQ"
> name="People" package="_L37e0NiWEdyDI-twlSn5BQ">
> </ownedMember>
> </Package>
>
> When I use the command <c:get select="Package/ownedMember/@name" /> I
> got the result: People
>
> But, IŽm trying to obtain the xmi:id from ownedMember. IŽm using the
> following command <c:get select="Package/ownedMember/@xmi:id" /> , but
> this return no value.
>
> Has anyone here know what command should I use?!?
>
> Thanks,
> Raphael
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Powered by
FUDForum. Page generated in 0.03375 seconds