RPI/Mathactivity/XML: Difference between revisions
< RPI | Mathactivity
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
==XML Howto== |
==XML Howto== |
||
http://www.boddie.org.uk/python/XML_intro.html |
http://www.boddie.org.uk/python/XML_intro.html <br /> |
||
http://docs.python.org/lib/module-xml.dom.minidom.html |
http://docs.python.org/lib/module-xml.dom.minidom.html |
||
==Math Format== |
==Math Format== |
Revision as of 21:33, 1 April 2008
XML Howto
http://www.boddie.org.uk/python/XML_intro.html
http://docs.python.org/lib/module-xml.dom.minidom.html
Math Format
- Relatively Extensible
- Prototype Parser and Math Engine in PHP
- Polynomials only at this time
- Math engine is not yet complete, will have to discuss some ideas in meeting Tuesday
- Ideas for storing expressions? i.e. log(x), (x^3), etc?
- Notes to self:
- Operations?
- Auto-generate constants?
- 'Barking up the wrong tree?' - MathML - http://www.w3.org/Math/
- Encapsulate MathML inside our own XML wrapper
- Unique identifiers per problem
- Level ID for each problem
- Answer to problem
<math_problems> <problem> <lt sign="1">12</lt> <lt var="3">4</lt> </problem> <problem> <lt>1</lt> <lt>4</lt> </problem> </math_problems>
Goal Format
Persistence of State Format
<state> <players> </players> <goal> <resource> <obtained> </obtained> </resource> <purchased_subgoal> </purchased_subgoal> <problems> <used> </used> </problems> </goal> </state>