[osis-core] Element Review: <div>

Chris Little osis-core@bibletechnologieswg.org
Sun, 16 Jun 2002 23:15:27 -0700


I'm frequently finding text portions that would best be marked as:

<div>
	<title>Some title</title>
	<div>
		<title>sub-section 1 title</title>
			some CDATA
	</div>
	<div>
		<title>sub-section 2 title</title>
			some CDATA
	</div>
</div>

However, because all divs must precede any other element in a div, this 
is illegal.  I don't understand why this is the case and it seems like 
div should just be added to the choice in div, and the sequence be removed.

--Chris


Patrick Durusau wrote:
> <div> has: <blockQuote>, <div>, <figure>, <lineGroup>, <list>, 
> <milestone>, <p>, <q>, <seg>, <speech>, <title>, <verse>.
> 
> Question: So we don't have phrase level markup in a <div>? That is how I 
> see the content model for <div>, with things like <abbr>, <speaker> and 
> <w> (to take only three examples) as always occurring in larger elements.
> 
> Patrick
>