cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <o...@wlkp.org>
Subject access input modules from stylesheet
Date Tue, 18 Nov 2003 09:34:17 GMT
Is there a way to acces input modules nicely from xslt stylesheet? Right now I
am doing something like: 

<map:transform src="cocoon://{global:baseURL}/stylesheets/site2html.xsl">
				<map:parameter name="baseURL" value="/{global:baseURL}"/>
				<map:parameter name="appTitle" value="{global:appTitle}"/>
</map:transfrom>

this is all fine if one has only one sitemap (one can use resources to work
with duplicated code) but I have a web application that each app menu option
(application section) has it's own sitemap.

The number of parameters passed to stylesheets gets bigger and bigger with
time which makes the code harder to read and maintain.
	lg


-- 
            __
         | /  \ |        Leszek Gawron            //  \\
        \_\\  //_/       ouzo@wlkp.org           _\\()//_
         .'/()\'.     Phone: +48(501)720812     / //  \\ \
          \\  //  recursive: adj; see recursive  | \__/ |


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message