Using additional TEI module

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

Using additional TEI module

Post by sderrick » Fri Dec 03, 2010 4:43 am

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: 7019
Joined: Fri Jul 09, 2004 5:18 pm

Re: Using additional TEI module

Post by Radu » Fri Dec 03, 2010 6:43 pm

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: 239
Joined: Sat Jul 10, 2010 4:03 pm

Re: Using additional TEI module

Post by sderrick » Sat Dec 04, 2010 2:17 am

Thanks Radu, I will try the all schema.

Scott

Post Reply