OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Is-it possible to include TEI parts in a docbook book?


One of the reasons DocBook 5 was put into a namespace was to enable applications to 
more easily mix content from other namespaces in XML documents.  Putting such content 
into a DocBook document means adding the TEI namespace declaration to the document and 
inserting the TEI elements with TEI namespace prefix into the document.  The Sun 
Multi-Schema Validator (MSV) is a free tool that can validate a document with multiple 
namespaces.

In terms of formatting, the DocBook XSL stylesheets have no templates for matching 
elements in the TEI namespace.  You would have to create a template to match on each 
TEI element you use.  The formatting applied by the template would have to fit in with 
the formatting done by the DocBook container element.  Depending on which TEI elements 
you use, that work is probably non-trivial.

It might be easier to convert the TEI content to DocBook.  An XSLT transformation can 
do that, even for TEI content embedded in DocBook 5 (the conversion templates for 
DocBook 5 elements just copy through).  If the TEI content is "live", you could do the 
conversion automatically as part of a build process.  Then you could just use the 
DocBook XSL stylesheet to format everything.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Streit Eric" <eric@yojik.eu>
To: <docbook-apps@lists.oasis-open.org>
Sent: Monday, December 13, 2010 4:10 AM
Subject: [docbook-apps] Is-it possible to include TEI parts in a docbook book?


> Hi,
>
> I am formating and translating a language course (written in English and
> for the Russian language).
>
> There are some parts which are like a dictionary (the vocabulary): could
> I use the TEI dictionary part and include it in my docbook document?
>
> If it is possible, could you explain how to do this?
>
> Thanks
>
> Eric!
> -----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]