eLearningDeveloper
Programmer
I am trying to create a schema that allows simple paragraphs to include bold, underlined, and other inline text with styles - one at a time, not nested. I do not need arbitrary mixing, such as portions of bold text underlined, and so on - just a simple text string paragraph tag that can include portions of inline text marked up EITHER bold, underlined, or italics:
<para>This is <b>a sample</b> paragraph with <i>some</i> inline content marked up further.</para>
The problem with the examples I am finding is that they permit starting with the inline markup - for example, this would be legal:
<i>Here is an <para>example <b>of <u>what</u></b></para> I do not want.</i>
Can anyone point me to an example?
<para>This is <b>a sample</b> paragraph with <i>some</i> inline content marked up further.</para>
The problem with the examples I am finding is that they permit starting with the inline markup - for example, this would be legal:
<i>Here is an <para>example <b>of <u>what</u></b></para> I do not want.</i>
Can anyone point me to an example?