- From: Hunter Perrin <hperrin@gmail.com>
- Date: Mon, 01 Jun 2009 06:43:21 +0000
- To: site-comments <site-comments@w3.org>
I believe this is also a typo on the same page. It's in the Repeat
section under "Initializing inserted items".
<trigger>
<label>New</label>
<action ev:event="DOMActivate">
<insert nodeset="todo" position="after" at="count(todo)"/>
<setvalue ref="todo[last()]/status">unstarted</xf:setvalue>
<setvalue ref="todo[last()]/task"/>
<setvalue ref="todo[last()]/date" value="substring-
before(now(), 'T')"/>
</action>
</trigger>
The only tag with a namespace identifier is the first <setvalue>'s
closing tag. I don't believe it needs the identifier.
Thanks,
Hunter
Received on Monday, 1 June 2009 14:51:01 UTC