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 docbookbook?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

thanks,


it exactly what I found possible to do: XSLT to convert the TEI part
into standard docbook.

The TEI part is just usefull for extraction, tranformation and not for
printing/publishing. (a good way to extract the dictionary part of the
document)

I'll check the validator: I did'nt know it.

Eric Streit
- ------------

Le 16/12/2010 18:46, Bob Stayton a écrit :
> 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
>>
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0KbPMACgkQXadFhC79v6Mr8wCgtRalUhIcnhv3ImiCjeCkWVLw
tLwAnRFTt1kruB1wnEu6sUvESiMcAi6f
=pnNz
-----END PGP SIGNATURE-----


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