Hi,

I'm creating a web site in Cocoon 2, using XSP, SVGs and XSLT. I have
several configuration "parameters" that I would like to store in a separate
file for global tuning the site (Things like background colors, widths,
database connections URLs, ..). I would like to use the configuration variables 
in the XSP files, XSLT stylesheets and if possible, even in some XML files for 
my site.

I was first thinking in using a separate XSLT stylesheet, only with top 
xsl:params, and import it as needed. But of course I couldn't use it for the 
XSPs (at least, not directly). I could also use java property files, but for
accessing them in XSLT files I would need to use XSLT extensions, also not 
likely. As for XML files, maybe there could some simple pre-processor that I 
could use in the pipeline, only for doing simple substitutions. This could be
feasible also for the XSLTs and XSPs files.

Any sugestions, or any Cocoon 2 support for this ?

Thanks,

Artur Matos ([EMAIL PROTECTED])



-------------------------------------------------
Everyone should have http://www.freedom2surf.net/

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to