<< Chapter < Page | Chapter >> Page > |
The first child tag should be
term which contains the word/phrase
being defined. It is then followed by a
meaning
tag which is followed by any number of
example s. This process repeats forall meanings.
<definition id='tbonedef'><term>T-Bone</term><meaning>"The T-bone steak is cut between 1 and 3 inches thick and comes
from the center section of the short loin. This steak ischaracterized by its T-shape bone, has a fine-grained shell and a
small tenderloin eye,"<cite>http://www.chophousecalgary.com/steak.html</cite>.</meaning><example id='tboneexam'><figure id='tbonefig'><title>T-Bone Steak</title><media id="image-example" display="block" alt="A T-bone Steak."><image mime-type='image/jpeg' src='tbone.jpg'/></media></media></figure></example></definition>
The
rule
tag is used to insert a rule, such as a
theorem, axiom, or rule of thumb, into a cnxml document. Ithas two attributes:
id
- required, unique IDtype
- required, specificies the type of
rule (e.g. theorem, axiom, rule of thumb, etc.)The
statement
tag is used inside a
rule
tag and defines the statement of
the rule. It has an optional
id
attribute,
which, like all IDs, must be unique. It also has twochildren,
para and
equation .
The
proof
tag is used inside the
rule
tag and marks the proof of the rule. It
has an optional
id
attribute and may contain
another rule,
para ,
equation ,
figure , or
list tag.
<rule id='murph' type='law'><title>Murphy's Law</title><statement><para id='murphp1'>If there are two or more ways to do something, and one of those
ways can result in a catastrophe, then someone will do it.</para></statement><proof><para id='murphp2'>Edward A. Murphy, Jr. was one of the engineers on the
rocket-sled experiments that were done by the U.S. Air Force in1949 to test human acceleration tolerances (USAF project
MX981). One experiment involved a set of 16 accelerometersmounted to different parts of the subject's body. There were two
ways each sensor could be glued to its mount, and somebodymethodically installed all 16 the wrong way around. Murphy then
made the original form of his pronouncement, which the testsubject (Major John Paul Stapp) quoted at a news conference a
few days later<cite>http://www.lylemariam.com/murphy.htm</cite>.</para></proof></rule>
If there are two or more ways to do something, and
one of those ways can result in a catastrophe, thensomeone will do it. Edward A. Murphy, Jr. was one of the engineers on
the rocket-sled experiments that were done by theU.S. Air Force in 1949 to test human acceleration
tolerances (USAF project MX981). One experimentinvolved a set of 16 accelerometers mounted to
different parts of the subject's body. There weretwo ways each sensor could be glued to its mount,
and somebody methodically installed all 16 the wrongway around. Murphy then made the original form of
his pronouncement, which the test subject (MajorJohn Paul Stapp) quoted at a news conference a few
days later
http://www.lylemariam.com/murphy.htm .Murphy's law
Thanks for making it through another tutorial. I'm sure that you still want to know more so here's a link to The Advanced CNXML .
Notification Switch
Would you like to follow the 'Connexions tutorial and reference' conversation and receive update notifications?