On 12 May 2012, at 00:49, John Walsh wrote:
> The partial thread below, from March, 2010, discusses an issue with @xml:id, the tagdocs module, and egXML. Does anyone know if it was ever resolved?
I don't think there is anything to resolve here. That discussion was about how to construct the content
model for the macro anyXML, and George was teaching me bits of RELAX NG.
> With a current tei_all.rng schema, I cannot include elements from the TEI namespace inside egXML.
yes, that is intentional.
> Any ideas on how one can put TEI elements inside a TEI egXML?
you would use a customization which redefines macro.anyXML. Currently that
explicitly says "anything except elements in the TEI namespace, and egXML itself". Why,
you ask? because it is highly highly confusing to process a document where the examples
are in the same namespace as the main text. Try it and see. It's been some years
since this decision about egXML was made, and its possible a fresh look at the whole
issue obviate the need for this admittedly curious convention.
That said, if you do start to try tinkering with anyXML macro, be prepared for
some wet-towel-round-the-head moments as you grapple with baffling
messages from validators.