Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [JET]
[JET] [message #988698] Sat, 01 December 2012 08:55 Go to next message
noi poi is currently offline noi poi
Messages: 29
Registered: June 2012
Junior Member
how can i iterate over an attribute with upper bound as -1.

<c:iterate select="$BTStepMethodInvocation/@pcvalue" var="pcvalue">
<c:get select = "$BTStepMethodInvocation/@btstepname"/>.pc.addData("<c:get select = "$pcvalue"/>");
</c:iterate>

here the pcvalue has upper bound as many and is of type Estring. The above code only gives me the first value of pcvalue.
Any help in it

Thanks in advance
Re: [JET] [message #988812 is a reply to message #988698] Mon, 03 December 2012 05:22 Go to previous message
noi poi is currently offline noi poi
Messages: 29
Registered: June 2012
Junior Member
found this page

http://wiki.eclipse.org/JET_FAQ/How_do_I_access_multi-valued_attributes%3F
Previous Topic:[JET]
Next Topic:JET2 Traversing Trees
Goto Forum:
  


Current Time: Sat Apr 19 13:25:18 EDT 2014

Powered by FUDForum. Page generated in 0.01715 seconds