Author: gotcha
Date: Wed Dec 5 01:06:11 2007
New Revision: 49353
Modified:
kukit/kss.core/trunk/kss/core/plugins/core/demo/basic_commands.pt
Log:
update for new protocol
Modified: kukit/kss.core/trunk/kss/core/plugins/core/demo/basic_commands.pt
==============================================================================
--- kukit/kss.core/trunk/kss/core/plugins/core/demo/basic_commands.pt
(original)
+++ kukit/kss.core/trunk/kss/core/plugins/core/demo/basic_commands.pt Wed Dec
5 01:06:11 2007
@@ -91,19 +91,18 @@
For instance, let's look at the <a tal:attributes="href
string:${context/@@absolute_url}/moveToDivContent"><code>moveToDivContent</code>
response</a>.
</p>
<pre>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:kukit="http://www.kukit.org/commands/1.0"><body>
-<kukit:commands>
-<kukit:command selector="div#copy" name="copyChildNodesTo"
- selectorType="">
- <kukit:param name="html_id">demo</kukit:param>
-</kukit:command>
-<kukit:command selector="div#copy" name="clearChildNodes"
- selectorType="">
-</kukit:command>
-</kukit:commands>
-</body></html>
+ <?xml version="1.0" encoding="utf-8" ?>
+<kukit xmlns="http://www.kukit.org/commands/1.0">
+<commands>
+<command selector="div#copy" name="copyChildNodesTo"
+ selectorType="">
+ <param name="html_id">demo</param>
+</command>
+<command selector="div#copy" name="clearChildNodes"
+ selectorType="">
+</command>
+</commands>
+</kukit>
</pre>
<p>
The XML specifies two commands to apply to the <code>div#copy</code> node
:
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins