<timing clock="page">
<seq>
<cue select="//body" dur="5s">
<event name="doTest"/>
</cue>
</seq>
</timing>
<body >
<div>
<p style:backgroundColor="lime" style:color="black" style:fontSize="100%"
style:visibility="visible">Test</p>
</div>
</body>
As per spec, Under <cue> element - If the child is an event element, an event is directed at each of the nodes in the nodeset.
In the above code, event is directed to <body> element. So will it be possible to trigger events by doing modifications in the <timing> block

handling event other than nodeSet
PeterVrenken
<seq>
<cue select="//body" dur="5s">
<event name="doTest"/>
</cue>
</seq>
</timing>
<body >
<div>
<p style:backgroundColor="lime" style:color="black" style:fontSize="100%"
style:visibility="visible">Test</p>
</div>
</body>
langev
Can you please edit to remove all the blank lines at the end
I am not sure I understand the question; can you try re-phrasing, please
KevinBurton
Ah, OK.
What it means is that every node selected by the XPath expression will get the event fired to it; that doesn't mean all the child nodes will get the event, just the selected nodes.
So, for example, in your code only the body will get the event because it is the only thing selected. But if you said:
and you had 10 button elements on the page, all 10 of them would receive the event. Note that this only really matters if you attach event handlers to specific elements, rather than attaching them to the document itself.
DOM Events are not implemented in iHDSim at the moment. If present, they would not be triggered by animations; only by DOM methods like removeChild or insertNode would trigger DOM Events. I am not aware of any compelling scenarios for DOM Events in HD DVD right now.