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 13:55 Go to next message
noi poi is currently offline noi poiFriend
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 10:22 Go to previous message
noi poi is currently offline noi poiFriend
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: Fri Nov 28 10:03:31 GMT 2014

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

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