[xslt] xsltRegisterExtModuleFull and xsl:include vs xsl:import



Hello,

I'm registering an extension module:

xsltRegisterExtModuleFull((const xmlChar *) XSLT_SCHEMEPLUGIN_URL,
      xsltExtInitScheme,
      xsltExtShutdownScheme,
      xsltExtStyleInitScheme,
      xsltExtStyleShutdownScheme);

Each time an XSLT file is loaded, a callback function
"xsltExtStyleInitScheme" is executed. It is executed also for stylesheets
which loaded through "xsl:import". Unfortunately, if a stylesheet loaded
through "xsl:include", the function is _not_ executed.

Would you please suggest a way to execute a function after xsl:include
stylesheet is loaded?

Thanks!

-- 
Oleg Parashchenko  olpa@ http://xmlhack.ru/  XML news in Russian
http://uucode.com/blog/  Generative Programming, XML, TeX, Scheme
http://olpa.livejournal.com/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]