John, > Several events include useful context information that can be accessed > from XPath expressions using the `event()` function. I would like to be > able to add context information to events that are dispatched using the > `xf:dispatch` element[0]. > > [...] <xf:setvalue ref="event('context')" value="instance('other')/context"/> <xf:setvalue ref="event('name')" value="@name"/> <xf:dispatch name="foo" target="m" /> Would be a good way to write it. XML Events 2 includes the event function, and it was always intended it to be read/write...but I have a horrible feeling that it isn't. (Time for an edit.) Mark -- Mark Birbeck, formsPlayer mark.birbeck@x-port.net * +44 (0) 20 7689 9232 www.formsPlayer.com * internet-apps.blogspot.com standards. innovation.Received on Thursday, 8 February 2007 17:07:34 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:55 UTC