[osis-core] Element Review: <div>

Steve DeRose osis-core@bibletechnologieswg.org
Wed, 19 Jun 2002 19:18:10 -0400


>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.

there's an old debate about a similar restriction in TEI structure. 
for the cases you're thinking of, is it just that you need <title> up 
front?

-- 

Steve DeRose -- http://www.stg.brown.edu/~sjd
Chair, Bible Technologies Group -- http://www.bibletechnologies.net
Email: sderose@speakeasy.net
Backup email: sderose@mac.com, sjd@stg.brown.edu