I am having a problem with enabling xslt templates.
I have a.xslt, which includes b.xslt and c.xslt.
b and c both require a template located in d.xslt. If I add an include statement to b and c, I get a duplicate of the template error in VS2008:
The named template 'MyTemplate' does not exist.
and when I try to get to a web page using these XSLTs, I get an error message and they do not display correctly.
If I include d.xslt in a.xslt, it will display correctly, but I get an error in b and c, stating that the template I am referring to does not exist:
'MyTemplate' is a duplicate template name.
What would be the proper way to include this include tree? Or maybe this is just a VS2008 problem?
I could exclude d.xslt and add this template to b and c, but it's easier to manage if the template is in the same place.
- edited: Added actual error text VS2008.
source share