JET2 - multiple input models [message #77945] |
Tue, 03 April 2007 08:17 |
Eclipse User |
|
|
|
Originally posted by: kim-chi.nguyen.velsys.com
Hi All,
I'm new to JET2 and have been following IBM's tutorial
http://www-128.ibm.com/developerworks/opensource/library/os- ecl-jet/
I would like to know if it is possible to have more than one input model to
a template?
I have the following models:
1) profileA.xml
<app name="profileA">
<component name="c1"/>
<component name="c2"/>
</app>
2) component1.xml
<app name="c1">
<property name="p1" value="x"/>
<property name="p2" value="y"/>
</app>
Am I able to access the attributes(p1, p2, x, y) of component1.xml, given
that I can extract the attribute c1, from profileA.xml in my template file?
Is it possible to build up an input model incrementally like this,
consisting of many *.xml files?
When I go to Run > JET Transformation, I can only enter one file in the
"Transformation Input" field.
Regards,
Kim-Chi
|
|
|
Re: JET2 - multiple input models [message #77962 is a reply to message #77945] |
Tue, 03 April 2007 10:48 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Kim-Chi,
If you must post a question to multiple newsgroups, please do so with a
single posting to both groups rather than with two separate postings.
The M2T newsgroup was the better place to post this question so look for
an answer there.
Kim-Chi wrote:
> Hi All,
>
> I'm new to JET2 and have been following IBM's tutorial
> http://www-128.ibm.com/developerworks/opensource/library/os- ecl-jet/
>
> I would like to know if it is possible to have more than one input model to
> a template?
>
> I have the following models:
>
> 1) profileA.xml
> <app name="profileA">
> <component name="c1"/>
> <component name="c2"/>
> </app>
>
> 2) component1.xml
> <app name="c1">
> <property name="p1" value="x"/>
> <property name="p2" value="y"/>
> </app>
>
> Am I able to access the attributes(p1, p2, x, y) of component1.xml, given
> that I can extract the attribute c1, from profileA.xml in my template file?
>
> Is it possible to build up an input model incrementally like this,
> consisting of many *.xml files?
>
> When I go to Run > JET Transformation, I can only enter one file in the
> "Transformation Input" field.
>
> Regards,
> Kim-Chi
>
>
>
|
|
|
Re: JET2 - multiple input models [message #604203 is a reply to message #77945] |
Tue, 03 April 2007 10:48 |
Ed Merks Messages: 33264 Registered: July 2009 |
Senior Member |
|
|
Kim-Chi,
If you must post a question to multiple newsgroups, please do so with a
single posting to both groups rather than with two separate postings.
The M2T newsgroup was the better place to post this question so look for
an answer there.
Kim-Chi wrote:
> Hi All,
>
> I'm new to JET2 and have been following IBM's tutorial
> http://www-128.ibm.com/developerworks/opensource/library/os- ecl-jet/
>
> I would like to know if it is possible to have more than one input model to
> a template?
>
> I have the following models:
>
> 1) profileA.xml
> <app name="profileA">
> <component name="c1"/>
> <component name="c2"/>
> </app>
>
> 2) component1.xml
> <app name="c1">
> <property name="p1" value="x"/>
> <property name="p2" value="y"/>
> </app>
>
> Am I able to access the attributes(p1, p2, x, y) of component1.xml, given
> that I can extract the attribute c1, from profileA.xml in my template file?
>
> Is it possible to build up an input model incrementally like this,
> consisting of many *.xml files?
>
> When I go to Run > JET Transformation, I can only enter one file in the
> "Transformation Input" field.
>
> Regards,
> Kim-Chi
>
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.04821 seconds