TEI with XInclude (experimental)
author: Sebastian Rahtz
language: en
availability: Distributed under a Creative Commons Attribution-ShareAlike 3.0 Unported License Copyright 2013 TEI Consortium. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditio (http://creativecommons.org/licenses/by-sa/3.0/)

This customization loads the normal four modules, and adds the <include> element from XInclude (see for details on this scheme). This allows you to validate TEI documents before XInclude processing. In general, this is not the right way to work, since you would normally validate after any inclusions have been resolved. <include> is set up here to be allowed in the <teiHeader> and instead of or between paragraph-like objects.

<include>
The W3C XInclude element
@href
pointer to the resource being included
@parse
xml
"xml"
"text"
@xpointer
@encoding
@accept
@accept-charset
@accept-language

<fallback>
Wrapper for fallback elements if an XInclude fails

macro.anyThing