This may not be the best approach (I am very open to learning), but the way I deal
with XHTML's desire not to have most other elements inside <p></p> is through the use
of <span> and <object>: <p> can contain <span> and <span> can contain <object>.
<object> can contain almost anything. Here's an example in which I insert page breaks
and a label line at the top of the new page in the middle of a paragraph:
<p> Blah blah blah
I could have just one span and give the objects class names, but this validated and I
haven't gotten around to changing it yet. It also means that XSL style sheets have to
be tailored for each document to represent what is present in each. It bothers me
that it isn't as elegant as I would like, but with appropriate CSS it produces what I
want to happen on the screen. I would love to learn simpler solutions, so if anyone
has one feel free to contact me off-list.
Robert A. Kelly
Professor of Systematic Theology, Assistant Dean - Academic
Waterloo Lutheran Seminary
Wilfrid Laurier University
75 University Ave. W.
Waterloo, Ontario N2L 3C5 Canada
519-884-0710, ext. 3853
[log in to unmask]