Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » difference between dynamique instance and XMfile
difference between dynamique instance and XMfile [message #1761238] Tue, 09 May 2017 10:15 Go to next message
joe fridik is currently offline joe fridikFriend
Messages: 15
Registered: April 2017
Junior Member
Hi,
when i did a dynamique instance for my model
i specify for exemple that a Task derives athers Tasks which i specidied( names).

and when i open the file with a text editor i got : (//@tasks.2 and not none of tasks) ,

i got somthing like that:
<Tasks
      name="aaaa"
      Derives="//@tasks.2"
      id="1">
********

  </Tasks>
  <Tasks
      name="bbbb"
      Derives="//@tasks.3"
**********
  </Tasks>
  <Tasks
      name="cccc"
      id="9">

  </Tasks>



thanks for help
Re: difference between dynamique instance and XMfile [message #1761239 is a reply to message #1761238] Tue, 09 May 2017 10:28 Go to previous messageGo to next message
joe fridik is currently offline joe fridikFriend
Messages: 15
Registered: April 2017
Junior Member
I would have liked to have found:

<Tasks
      name="aaaa"
      Derives="bbb"
      id="1">
********

  </Tasks>
  <Tasks
      name="bbbb"
      Derives="ccc"
**********
  </Tasks>
  <Tasks
      name="cccc"
      id="9">

  </Tasks>





Re: difference between dynamique instance and XMfile [message #1761305 is a reply to message #1761239] Tue, 09 May 2017 15:08 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 29395
Registered: July 2009
Senior Member
You can set the ID attribute to true for the "name" attribute. Note however that this string representation of all ID attributes of all instance (of all types) within a resource must be unique.
Re: difference between dynamique instance and XMfile [message #1763286 is a reply to message #1761305] Fri, 12 May 2017 11:24 Go to previous message
joe fridik is currently offline joe fridikFriend
Messages: 15
Registered: April 2017
Junior Member
Thanks very very much M.Merks . now it works
Previous Topic:[Xcore] The namespace prefix '...' is not well formed
Next Topic:[TENEO] Save Double list with NaN and Infinity
Goto Forum:
  


Current Time: Mon Jun 25 16:09:22 GMT 2018

Powered by FUDForum. Page generated in 0.02078 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top