Fix some example validity issues.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Fri, 23 Apr 2010 08:46:56 +0000 (01:46 -0700)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Fri, 23 Apr 2010 08:46:56 +0000 (01:46 -0700)
examples/boss/template.xml [deleted file]
examples/popcorn/towards.xml

diff --git a/examples/boss/template.xml b/examples/boss/template.xml
deleted file mode 100644 (file)
index 7065d9b..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" ?>\r
-<!DOCTYPE bulletml SYSTEM "http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/bulletml.dtd">\r
-\r
-<bulletml \r
-          xmlns="http://www.asahi-net.or.jp/~cs8k-cyu/bulletml">\r
-\r
-\r
-</bulletml>\r
index 1db6dd2a344060462ef1c3ca8a35329065e38e59..58ad5fb58ffb98107abcb16d89f393dc0e3b2617 100644 (file)
@@ -1,16 +1,17 @@
 <?xml version="1.0" ?>\r
 <!DOCTYPE bulletml SYSTEM "http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/bulletml.dtd">\r
 \r
-<bulletml xmlns="http://www.asahi-net.or.jp/~cs8k-cyu/bulletml">\r
+<bulletml xmlns="http://www.asahi-net.or.jp/~cs8k-cyu/bulletml"\r
+         xmlns:py="http://code.google.com/p/python-bulletml/">\r
   <action label="top">\r
-    <if><cond>$rand > 0.7</cond>\r
-      <then><fire><bullet/><appearance>red</appearance></fire></then>\r
-      <else>\r
-       <if><cond>$rand > 0.5</cond>\r
-         <then><fire><bullet/><appearance>blue</appearance></fire></then>\r
-         <else><fire><bullet/><appearance>green</appearance></fire></else>\r
-       </if>\r
-      </else>\r
-    </if>\r
+    <py:if><py:cond>$rand > 0.7</py:cond>\r
+      <py:then><fire><bullet/><py:appearance>red</py:appearance></fire></py:then>\r
+      <py:else>\r
+       <py:if><py:cond>$rand > 0.5</py:cond>\r
+         <py:then><fire><bullet/><py:appearance>blue</py:appearance></fire></py:then>\r
+         <py:else><fire><bullet/><py:appearance>green</py:appearance></fire></py:else>\r
+       </py:if>\r
+      </py:else>\r
+    </py:if>\r
   </action>\r
 </bulletml>\r