RPI/Mathactivity/XML/goal mockup: Difference between revisions

From OLPC
< RPI‎ | Mathactivity‎ | XML
Jump to navigation Jump to search
m (RPI/goal mockup moved to RPI/Mathactivity/goal mockup: part of math activity)
(No difference)

Revision as of 21:04, 1 April 2008

<goal id="house">
<title>My House</title>
<display modify="self">
<image id="house_picture" x="0" y="0" fixed="true">
<svgblock>
#Insert SVG here
</svgblock>
<svgblock id="house_paint_color">
#555555
</svgblock>
<svgblock>
#Rest of SVG here
</svgblock>
</image>
</display>
<materials>
<material id="stone" quantity="10" />
<material id="sand" quantity="10" />
<material id="wood" quantity="20" />
</materials>
<problems>
<problem id="make_house" />
</problems>
<subgoals>
<goal id="paint">
<title>Paint</title>
<display modify="parent">
<mod_image id="house_picture">
<svgblock id="house_paint_color">
<choice default="red" />
<option id="red">
<title>Red Paint</title>
<value>#FF0000</value>
</option>
<option id="green">
<title>Green Paint</title>
<value>#00FF00</value>
</option>
<option id="blue">
<title>Blue Paint</title>
<value>#0000FF</value>
</option>
</choice>
</svgblock>
</mod_image>
</display>
<materials>
<material id="colored_berries" quantity="10" />
</materials>
</goal>
<goal id="barn">
<title>Barn</title>
<display modify="self">
<image id="barn_picture" x="30" y="0" fixed="true">
<svgblock>
#Insert SVG here
</svgblock>
</image>
</display>
<materials>
<material id="stone" quantity="5" />
<material id="sand" quantity="5" />
<material id="wood" quantity="10" />
</materials>
</goal>
</subgoals>
</goal>