T
Thierry
Let's say I have the following tags in an xml:
<World>
<Country>Canada</Country>
<Hemisphere>North</Hemisphere>
<Weather climate="cold" forecast="snow">
<CommandAction>$(HOME)\calculate.py Canada North
snow</CommandAction>
</Weather>
</World>
The CommandAction tag will invoke some python script which takes
Country Hemisphere and forecast as parameters. Is there a way to
generalize the CommandAction tag so that it can look something like the
following:
<CommandAction>$(HOME)\calculate.py <Country> <Hemisphere>
<forecast></CommandAction>
I'm not very experienced with xml and I would like to know if the above
is a proper way of doing what I want. Any help please?
Thanks
Thierry
<World>
<Country>Canada</Country>
<Hemisphere>North</Hemisphere>
<Weather climate="cold" forecast="snow">
<CommandAction>$(HOME)\calculate.py Canada North
snow</CommandAction>
</Weather>
</World>
The CommandAction tag will invoke some python script which takes
Country Hemisphere and forecast as parameters. Is there a way to
generalize the CommandAction tag so that it can look something like the
following:
<CommandAction>$(HOME)\calculate.py <Country> <Hemisphere>
<forecast></CommandAction>
I'm not very experienced with xml and I would like to know if the above
is a proper way of doing what I want. Any help please?
Thanks
Thierry