TeiChapters.odd

From TEIWiki

Jump to: navigation, search

An ODD to remove 'div' and div0 and make div1=chapter div2=section, div3=subSection div4=subsubSection etc.


<?xml version="1.0"?>
<TEI xml:lang="en" xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt>
				<title>Chapters and Sections</title>
				<author>James Cummings</author>
			</titleStmt>
			<publicationStmt>
				<p>An ODD to remove 'div' and div0 and make div1=chapter  div2=section,
				div3=subSection div4=subsubSection etc.</p>
			</publicationStmt>
			<sourceDesc>
				<p>Generated by Roma.</p>
			</sourceDesc>
		</fileDesc>
	</teiHeader>
	<text>
		<body>
			<divGen type="toc"/>
			<schemaSpec ident="teiChapters" xml:lang="en">
				<moduleRef key="core"/>
				<moduleRef key="tei"/>
				<moduleRef key="header"/>
				<moduleRef key="textstructure"/>
				<moduleRef key="analysis"/>
				<moduleRef key="certainty"/>
				<moduleRef key="corpus"/>
				<moduleRef key="declarefs"/>
				<moduleRef key="dictionaries"/>
				<moduleRef key="drama"/>
				<moduleRef key="figures"/>
				<moduleRef key="gaiji"/>
				<moduleRef key="iso-fs"/>
				<moduleRef key="linking"/>
				<moduleRef key="msdescription"/>
				<moduleRef key="namesdates"/>
				<moduleRef key="nets"/>
				<moduleRef key="spoken"/>
				<moduleRef key="tagdocs"/>
				<moduleRef key="textcrit"/>
				<moduleRef key="transcr"/>
				<moduleRef key="verse"/>
				<elementSpec ident="div" mode="delete" module="textstructure"/>
				<elementSpec ident="div0" mode="delete" module="textstructure"/>
				<elementSpec ident="div1" mode="change" module="textstructure">
					<altIdent>chapter</altIdent>
				</elementSpec>
				<elementSpec ident="div2" mode="change" module="textstructure">
					<altIdent>section</altIdent>
				</elementSpec>
				<elementSpec ident="div3" mode="change" module="textstructure">
					<altIdent>subSection</altIdent>
				</elementSpec>
				<elementSpec ident="div4" mode="change" module="textstructure">
					<altIdent>subsubSection</altIdent>
				</elementSpec>
				<elementSpec ident="div5" mode="change" module="textstructure">
					<altIdent>subsubsubSection</altIdent>
				</elementSpec>
				<elementSpec ident="div6" mode="change" module="textstructure">
					<altIdent>subsubsubsubSection</altIdent>
				</elementSpec>
				<elementSpec ident="div7" mode="change" module="textstructure">
					<altIdent>subsubsubsubsubSection</altIdent>
				</elementSpec>
			</schemaSpec>
		</body>
	</text>
</TEI>

Personal tools