Hi,
(apologies for the series of emails -- hopefully not many more).
Regarding modules. The spec references <of> and <to>. I can't figure out where these are inserted. Can anyone explain?
When I make a submodel in iThink, I get something like the following. (removing display/interface tags).
<?xml version="1.0" encoding="utf-8" ?>
<model>
<module name="Module_1">
<connect to="price" from=".basePrice" />
<connect to=".profit" from="revenue" />
</module>
<aux name="basePrice">
<eqn>10</eqn>
</aux>
<aux name="profit" access="input">
</aux>
</model>
<model name="Module_1">
<aux name="price" access="input">
<eqn>1000</eqn>
</aux>
<aux name="revenue" access="output">
<eqn>price * 10</eqn>
</aux>
</model>
</xmile>
This makes sense to me and is captured in the draft xsd file I have. But (syntactically) where would <of> and <to> go?
best,
WILL
--
William Glass-Husain /forio | +1 (415) 440 7500 x89 | forio.com