- From: Mark Birbeck <mark.birbeck@x-port.net>
- Date: Thu, 8 Feb 2007 17:07:04 +0000
- To: www-forms@w3.org
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