[tei-council] multiple namespaces in Tite documents
Sebastian Rahtz
sebastian.rahtz at oucs.ox.ac.uk
Sun Sep 26 12:22:18 EDT 2010
On 26 Sep 2010, at 17:13, Kevin Hawkins wrote:
> The Tite ODD introduces a few elements not in the TEI namespace, such as
> <b> and <i>. Since Tite's root element is <text>, you need to put two
> namespaces here:
>
> <text xmlns="http://www.tei-c.org/ns/1.0"
> xmlns:tite="http://www.tei-c.org/ns/tite/1.0" xml:id="foo">
that's one way of declaring the Tite namespace. however, if you then
use (eg) <tite:b>, it will not validate against the DTD (which, we
were assured, is what the vendors like to use).
>
> For clarity, shouldn't definitions of elements from this namespace
> include this namespace on the element name?
no. there is no such concept of including a namespace on the element name.
honest, you just don't need do anything at all if you use the DTD - it
makes things work Like Magic for you.
--
Sebastian Rahtz
Information Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
Sólo le pido a Dios
que el futuro no me sea indiferente
More information about the tei-council
mailing list