Piroumian Konstantin wrote:
>
> > From: Lutz Lenzen [mailto:[EMAIL PROTECTED]]
> >
> > Hi everybody,
> >
> > there is the following line in the sitemap
> >
> >             <map:generate src="admin" type="sunSpot-conf"/>
> >
> > Normally the the src-attribute of the generate-tag holds an
> > XML-file. Here it
> > is "admin". What does that mean, is it an entity?
>
> Holding an XML-file in src attribute is normal only for
> FileGenerator, even
> in that case the src is not necessarily a file, but can be any resource,
> e.g. src="http://my.com/news.xml"; />.
>
> In this case the sunSpot-conf generator uses the src attribute to load the
> needed configuration file name. Where that configuration files are located
> is configured somewhere else, so instead of using a full path to your file
> you simply use a shorter name.
>
> Am I right, Carsten?
>
Yes!

The string "admin" is used by the sunSpot-conf generator to identify
that he has to load the admin profile.

Carsten


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

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

Reply via email to