I have an XSL stylesheet that I want to compile in dll using the xsltc.exe command. The problem I ran into is that there is a regular stylesheet that is used, and my stylesheet references this stylesheet using the xsl: include tag, as shown below:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:include href ="../objectTemplates.xslt"/></xsl:stylesheet>
Is it possible to compile the stylesheet into another dll and use it to compile.
So, if I compiled the original stylesheet in "SomeStylesheet.dll" and the reference stylesheet in "ObjectTemplate.dll"
Do I need to duplicate the code for the objectTemplates.xslt file in the first XSLT file and remove the xsl: include link or can I still have separate xsl files for them and still use the compiled XSLT files.
Any pointers would be really helpful.
source
share