Close this window

Using the <statement> tag

Description The statement tag is used inside the rule tag to write a definition or description of the rule in which it is placed.
Example
This CNXML:
<rule type='theorem' id='ruleexample'>
  <name>Pythagorean Theorem</name>
  <statement>
    <para id='ruleexp1'>
      On a right triangle, the sum of the 
      squares of the sides equals the square 
      of the hypotenuse.
    </para>
  </statement>
  <proof>
    <para id='ruleexp2'>
      Your favorite proof goes here.
    </para>
  </proof>
</rule> 
	
Results in this display:
theorem 1: Pythagorean Theorem
On a right triangle, the sum of the squares of the sides equals the square of the hypotenuse.
Proof
Your favorite proof goes here.
Attributes (what's this?)
Children (what's this?)name (one, optional), example, para, code, section, definition, rule, figure, media, table, list, exercise, equation, note
Parents (what's this?)rule
Close this window