When you select an element from the drop-down menu and click "Add Here,"
Edit-In-Place inserts a text box in which you can enter your information
for that CNXML element. The opening and closing bracketed tags (
what's this?) are
written and inserted for you. To add elements to your module that are
not in the drop-down menu you must manually write in the code. To do
this, click "Switch to Editing Full Source" (for the full module) or
open an editable element by clicking on it (for small changes to a
single portion of the module). For many elements, such as
emphasis, or
note, this is not complicated. Just add the opening and
closing tags (
what's this?)
around the text you want to modify, as shown in the following
examples:
Example 1:
emphasis
This CNXML:
It is <emphasis>very important</emphasis>
to turn the gas off when you have finished
using the stove. Otherwise you might cause an
explosion.
Results in this display:
It is very important to turn the gas off when you have finished
using the stove. Otherwise, you might cause an explosion.
Example 2:
note
This CNXML:
It is very important to turn the gas off
when you have finished using the stove.
<note>Otherwise, you might cause an
explosion.</note>
Results in this display:
It is very important to turn the gas off when you have finished using
the stove.
Note: Otherwise, you might cause
an explosion.
Other elements are more complicated, either by the need for attributes
(
what's
this?) or by strict usage requirements, such as child/parent
relationships (
what's
this?). Information on attributes, children, and parents, as well
as examples of each element's use, can be found in the
Complete CNXML tag list.