Referencing modules multiple times in a project
Posted: Wed Oct 16, 2013 12:45 pm
Hi,
I'd like to use the same module multiple times in my project, for example, a safety note, a standard phrase, etc.
I can import a module from my module base with an include element.
So far, so good... Unfortunately the module is imported with its ID, but using the same ID in the project throws validation errors. It works anyway, but it would be nice to get rid of these validation errors.
Is it possible to remove the id attribute of all included elements? That would be the most elegant way, I think, because the ID is useless anyway (because it is not unique).
Thanks a lot!
cube
I'd like to use the same module multiple times in my project, for example, a safety note, a standard phrase, etc.
I can import a module from my module base with an include element.
Code: Select all
<xi:include href="mymodulebase.xml" xpointer="mymodule"/>
Is it possible to remove the id attribute of all included elements? That would be the most elegant way, I think, because the ID is useless anyway (because it is not unique).
Thanks a lot!
cube