18
TEI ODD support in <oXygen/> Octavian Nadolu [email protected] @OctavianNadolu

TEI ODD support in oXygen

Embed Size (px)

Citation preview

Page 1: TEI ODD support in oXygen

TEI ODD support in <oXygen/>

Octavian [email protected]@OctavianNadolu

Page 2: TEI ODD support in oXygen

TEI ODD support in <oXygen/>TEI ODD support in <oXygen/>

TEI ODD (one document does it all)

A document which describes:● Element and attributes● Descriptions● Examples● Content model and datatypes● Information about how it can be used● Constraints

Page 3: TEI ODD support in oXygen

TEI ODD support in <oXygen/>TEI ODD support in <oXygen/>

<oXygen/> TEI ODD Framework

Page 4: TEI ODD support in oXygen

TEI ODD support in <oXygen/>TEI ODD support in <oXygen/>

<oXygen/> TEI ODD Framework● TEI ODD file templates● Validation ● Content completion● Transformations of TEI ODD files

Page 5: TEI ODD support in oXygen

TEI ODD support in <oXygen/>TEI ODD support in <oXygen/>

Create TEI Customization● Using a RealxNG schema● Using a DTD● Write a TEI ODD specification

Page 6: TEI ODD support in oXygen

TEI ODD support in <oXygen/>TEI ODD support in <oXygen/>

Create TEI ODD in <oXygen/>● Start a TEI ODD from scratch● Start from an existing TEI ODD template● Modify an existing TEI ODD customization

Page 7: TEI ODD support in oXygen

TEI ODD support in <oXygen/>TEI ODD support in <oXygen/>

Edit TEI ODD● Content completion for elements and attributes● Content completion for modules, elements,

classes● Documentation for elements and attributes● Links to the TEI guideline

Page 8: TEI ODD support in oXygen

TEI ODD support in <oXygen/>TEI ODD support in <oXygen/>

Add custom element

<elementSpec ident="soundClip" mode="add"> <desc>The sound clip element</desc> <classes mode="replace"> <memberOf key="model.pPart.data"/> </classes> <content> <text xmlns="http://relaxng.org/ns/structure/1.0"/> </content></elementSpec>

<elementSpec ident="soundClip" mode="add"> <desc>The sound clip element</desc> <classes mode="replace"> <memberOf key="model.pPart.data"/> </classes> <content> <text xmlns="http://relaxng.org/ns/structure/1.0"/> </content></elementSpec>

Page 9: TEI ODD support in oXygen

TEI ODD support in <oXygen/>TEI ODD support in <oXygen/>

Generate TEI ODD schema

Multiple schema formats● RelaxNG XML● RelaxNG Compact● DTD● XML Schema

Page 10: TEI ODD support in oXygen

TEI ODD support in <oXygen/>TEI ODD support in <oXygen/>

Generate TEI ODD Documentation

Generate documentation in multiple formats● HTML● PDF● EPUB● DOCX● ODT

Page 11: TEI ODD support in oXygen

TEI ODD support in <oXygen/>TEI ODD support in <oXygen/>

Use TEI Customization● Modify TEI framework

● Extend TEI framework

Page 12: TEI ODD support in oXygen

TEI ODD support in <oXygen/>TEI ODD support in <oXygen/>

Modify TEI framework● Create a new TEI template ● Set the custom schema in the framework

Page 13: TEI ODD support in oXygen

TEI ODD support in <oXygen/>TEI ODD support in <oXygen/>

Modify TEI Framework● Advantages

● The modification is simple

● Disadvantages● TEI framework update must be done manually● Cannot make to many modifications

Page 14: TEI ODD support in oXygen

TEI ODD support in <oXygen/>TEI ODD support in <oXygen/>

Extend TEI framework● Change the refereed schema● Add new actions ● Add new transformation scenarios● ...

Page 15: TEI ODD support in oXygen

TEI ODD support in <oXygen/>TEI ODD support in <oXygen/>

Extend TEI Framework● Advantages

● Add/Remove functionality from base● Benefit of the new features/actions

● Disadvantages● All the TEI documents will match the new

framework

Page 16: TEI ODD support in oXygen

TEI ODD support in <oXygen/>TEI ODD support in <oXygen/>

Sharing the framework● ZIP

● Add-ons

Page 17: TEI ODD support in oXygen

TEI ODD support in <oXygen/>TEI ODD support in <oXygen/>

Add-on

Page 18: TEI ODD support in oXygen

TEI ODD support in <oXygen/>TEI ODD support in <oXygen/>

Thank you!

Questions?

<oXygen/> XML Editorhttp://[email protected]@OctavianNadolu