The XHTML DTD includes a number of entities that we may define before
importing the code. If we define the entity Inline.extra those elements
will become part of the "new" XHTML.
In this example we want to create two new elements <hint>
and <hint>. The hint node should be block level,
the tip element should be inline. Both new nodes should support the
attribute tease.
To complete this we must define %Block.extra and %Inline.extra before
we realise the %xhtml; entity.
%Block.extra;
Define this to insert new elements. The new elements should be separated
by the |, the first new element should be preceded by |
%Inline.extra;
As above, but these elements may appear at the paragraph level and
not at the block level.
%Block.mix;
This represents the list of block level elements including
the new ones defined as Block.extra.
%Common.attrib;
A list of common attributes - most normal html elements support these,
they include title, class, onclick.
We woudl normally include these attributes in any new elements.
%span.element;
We can set this entity to IGNORE - doing so will prevent the span
element from being defined.
Using modular xhtml
Implement the following features.
Exclude the Tables Module.
Add a new caption tag, this should be inline and it should take
all the common inline attributes.