RE: Accessing Global Variables As External File

2006-05-26 Thread Stewart, Gary
> -Original Message- > From: Andrew Stevens [mailto:[EMAIL PROTECTED] > The way we do it is by defining an external entity in the > internal DTD i.e. > > > > ]> > http://apache.org/cocoon/sitemap/1.0";> > ... > > > > &environment; > > > ... Than

RE: Accessing Global Variables As External File

2006-05-24 Thread Andrew Stevens
From: "Stewart, Gary" <[EMAIL PROTECTED]> Date: Wed, 24 May 2006 16:57:42 +0100 Hi there, I was wondering if it was possible to access the global-variables component configuration as an external file? Basically there are some values in there that change depending on which server I was using so

Re: Accessing Global Variables As External File

2006-05-24 Thread Ralph Goers
The latest version of Cocoon lets you use property files. You can define your global variables but make their values be ${varname}. Then define the variable in your property file and Cocoon will substitute it. Ralph Stewart, Gary wrote: Hi there, I was wondering if it was possible to acces

Accessing Global Variables As External File

2006-05-24 Thread Stewart, Gary
Hi there, I was wondering if it was possible to access the global-variables component configuration as an external file? Basically there are some values in there that change depending on which server I was using so I figured I could separate that into a static XML file and not include that file