Using additional TEI module

Questions about XML that are not covered by the other forums should go here.
sderrick
Posts: 264
Joined: Sat Jul 10, 2010 4:03 pm

Using additional TEI module

Post by sderrick »

I'm somewhat of a newbie in regards to TEI.

I am editing a bunch of TEI documents, all using the standard schema with this at the top of each document

<TEI xmlns="http://www.tei-c.org/ns/1.0">

However I am in need some of the elements in the msdescription module which is not included in the default namespace. Such as <decoNote>

Is there a way to include the msdescription module without having to build a custom schema?

thanks,

Scott
Radu
Posts: 9051
Joined: Fri Jul 09, 2004 5:18 pm

Re: Using additional TEI module

Post by Radu »

Hi Scott,

On the top of your XML file you have a reference to a RelaxNG TEI schema like:

Code: Select all

<?oxygen RNGSchema="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/teilite.rng" type="xml"?>
What is the reference in your case? You probably reference a TEI RelaxNG schema without the msdescription module.

You can either use the TEI All schema:

Code: Select all

<?oxygen RNGSchema="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="xml"?>
or the TEI MS schema:

Code: Select all

<?oxygen RNGSchema="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_ms.rng" type="xml"?>
instead.

You can also create a new TEI file from the TEI All schema using the new file templates available in Oxygen.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
sderrick
Posts: 264
Joined: Sat Jul 10, 2010 4:03 pm

Re: Using additional TEI module

Post by sderrick »

Thanks Radu, I will try the all schema.

Scott
Post Reply