multiple includes of same sheet

I am finding it useless to have one XSL sheet import or include another and
then use these sheets with the embedded include/import in a larger system.
The problem stems from multiple includes of the same file. There really
needs to be a way to say: don't include/import this file if it is already
loaded.

For example
file A has a wild card match, Z,  in it
file B includes A - B is used standalone, has templates named X and Y
file C includes A - C is used standalone, has different template named X
file D needs X, Y and Z from C, B, A

You can't import C, B, A because C includes A and A has a wild card (hides
contents of B)
If you include C, B, A you have to rely on the multiple templates of the
same name error resolution

Two solutions, provide a way to say don't load if already loaded. Or create
two more wrapper files, E/F which split B/C into templates and includes.  In
my system I will need hundreds of wrapper files and I don't want to do this.


Jon Smirl
jonsmirl@mediaone.net

Received on Thursday, 12 August 1999 23:49:01 UTC