On Tue, Nov 18, 2003 at 04:31:20AM -0600, Antonio Gallardo wrote:
> Hi Leszek:
> 
> Hmm.. Try better xinclude. That way you can store this unique application
> stuff in a separated xml file. And access it using xpath.
> 
> I prefer xinclude because then we can share resource between application
> and we know nothing will be broken.
I see two problems here:
1. performance
2. I do a lot of aggregations - the verbosity would kill me

The best situation would be if I could use some technique in stylesheets that
do not need to specify explicitly the list of parameters (some hash map
maybe?). In stylesheet code I would be able to query for specified parameter.

Second thing would be to make this hash map understand sitemap context so you
can change the values basing on current sitemap you're in (or use the parent's
default value). Imagine your site2html.xsl uses a parameter $appContextTitle
that changes depending on which sitemap you're in (each sitemap is another
application "component" )
        ouzo
-- 
            __
         | /  \ |        Leszek Gawron            //  \\
        \_\\  //_/       [EMAIL PROTECTED]           _\\()//_
         .'/()\'.     Phone: +48(501)720812     / //  \\ \
          \\  //  recursive: adj; see recursive  | \__/ |


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to