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='pythag-rule'>
  <title>Pythagorean Theorem</title>
  <statement id='pythag-statement'>
    <para id='pythag-para1'>
      On a right triangle, the sum of the squares of 
      the sides equals the square of the hypotenuse.
    </para>
  </statement>
</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.

Attributes(what's this?)

Children(what's this?)

label (one, optional), title (one, optional), section, definition, example, figure, code, preformat, quote, note, media, list, table, rule, equation, exercise, para

Parents(what's this?)

rule
Close this window