Hi,
ok, you need this:
-- access the current node first, with //current ( meaning get any "current" node, there's only one so we are fine)
and then you can get sub properties ( the context will be the "current" node selected above)
-- /temperature/@max ( attributes starts with @)
-- /wind/direction/@value
you can use FsmFloat directly, not necessarly an FsmString, DataMaker will try to parse as a float and in this case it will be validate and work.
-- quick note: if you have more than one current node in the result, you'll need to get to it, by altering the xpath query
- //current[2] will return the second "current" node found anywhere in your xml
- using for example the city id, you would do this:
where you can insert in the xpath some fsm variable directly, using :_x_ to refer to the variables mentionned below the xpath query. Watch the "xpath query parsed" to make sure you got it right.
Bye,
Jean