Re: a question about the use of XInclude in TEI documents.

"Imsieke, Gerrit, le-tex" <[email protected]>
Newsgroups gmane.text.tei.general
Organization le-tex publishing services GmbH
Message-ID <[email protected]>
I think you’ll have to put the standalone lg document in the TEI namespace.

On 29.01.2017 22:18, Martin Mueller wrote:
> I am puzzled by the use of Xinclude in TEI . Given a minimal TEI document
> with a
> body
>
> <body>
> <p>some text</p>
> </body>
>
> I can add as a right sibling to <p>:
>
> <lg>
> <l>Mary had a little lamb</l>
> <l>Its fleece was white as snow</l>
> </lg>
>
> The resulting document will validate. If I now try to replace the <lg>
> element with an XInclude command like
>
> <body>
> <p>some text</p>
>  <xi:include
> href="http://panini.northwestern.edu/mmueller/littlelamb2.xml"
> xmlns:xi="http://www.w3.org/2001/XInclude"/>
> </body>
>
>
> oXygen gives me  a validating error message about <lg> not being allowed
> in this position. On the other hand, a transformation will produce the
> correct result.
>
> Am I doing something wrong or is the error message in error?
>
> I looked in the Guidelines for help with XInclude. A search for the term
> leads you to a section on stand-off markup, which is not very helpful to
> non-technical users like myself. There is no example of the most obvious
> case (including a TEI fragment like the <lg> element above). In
> particular, there is no help with the how, what, and where of required
> namespaces, which I always find a particularly tricky thing to get right.
> A little tutorial on the TEI Wiki would be helpful, and I'd be happy to
> help with writing it if somebody with a clearer understanding could point
> the way.
>
>
>
>
>
>
>
> Martin Mueller
> Professor emeritus of English and Classics
> Northwestern University
>

-- 
Gerrit Imsieke
Geschäftsführer / Managing Director
le-tex publishing services GmbH
Weissenfelser Str. 84, 04229 Leipzig, Germany
Phone +49 341 355356 110, Fax +49 341 355356 510
[email protected], http://www.le-tex.de

Registergericht / Commercial Register: Amtsgericht Leipzig
Registernummer / Registration Number: HRB 24930

Geschäftsführer: Gerrit Imsieke, Svea Jelonek,
Thomas Schmidt, Dr. Reinhard Vöckler
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.