Refactor xinclude-handling in Metamorph schema
The xinclude-handling in the Metamorph schema seems to have some issues. For instance, Metamorph requires that the macros element is specified before the first rules element. However, it is possible to use the macros element in xinclude statement. Xinclude statements may be mixed with rules tags. As a consequence, macros elements might by included in the middle of the script where they are not expected.
The same issue may occur with var elements.
Hi Christoph,
so far I used a little bit the include mechanism for my own purposes https://github.com/guenterh/mfDocProc/blob/master/src/main/resources/transformation/searchDocs/transform2SearchDoc.xml but without macros and vars. My limited use case seems to work.
Günter