Re: CompileBL Scenario

"[email protected]" <[email protected]> Wed, 23 Sep 2009 11:33:22 +0200
Newsgroups gmane.comp.cms.xaraya.devel
Organization Xaraya
Message-ID <[email protected]>
Marcel van der Boom wrote:

> Reading back your original message it sound like you are already
> dynamically including tags, just not conditionally? 
> 
> marcel
> 

In place of the <xsl:inlude /> tags the xar2php now contains a tag like 
<xsl:includebltags /> and a transform to turn that into a series of 
<xsl:include /> tags, one for each stylesheet found in the xslt/tags/bl 
directory.

But of course this is happening prior to firing up the BL compiler, 
configuring it, so to speak. I am wondering how to add module tags on 
the fly. The only idea I have so far is to include at compile time the 
tags of any module that is active. But that's not really lazy loading.

Strictly speaking you can't include stylesheets at run time, as far as I 
know. So maybe that's as good as it gets.

Marc