Namelist continued

HI,

I saw that there previously has been some discussions about the namelist,
and that at least in some parts my questions has been adressed. But I feel
that this is quite complicated.

In my understanding, namelist is a shorthand for param, but this name thing
makes it more complicated than param where name is set explicitly in code.


Here are some examples I'd like to get comments on:

What would be the names in an Xpath scxml if the following location
expressions was used in a namelist?

$var1
$var1/children
$var1/children[last()]
ancestor::$var1/children[last()]"

If the target of the invoke/send is an ecmascript scxml with the var1 as a
top most id what would the result be?

If it instead is a xpath scxml what would be the result?

And in the opposite direction, what would the names of an ecmascript
datamodel be for the following location expressions in namelist?
var1
var1.children
var1.children.slice(-1)[0]
(I don't know how to write something similar to ancestor)

And what would happen if the target of the invoke/send is an ecmascript
scxml with the var1 as a top most id what would the result be?

If it instead is a xpath scxml what would be the result?

Best regards,

Jon

Received on Saturday, 26 September 2015 13:13:11 UTC