You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by icewind <ic...@yahoo.com> on 2002/07/17 16:40:59 UTC
sitemap variables?
I searched the mailing list archives for "sitemap
variables" and "sitemap parameters" but didn't find
anything relevant to what I'm looking to do.
I have a path eg: "/home/me/xmldocs" that appears in
many of the pipelines in my sitemap.
Is there a way to put this in a variable at the top of
the sitemap so that if the path to my xml docs
changes, I would only have to change the sitemap in
one place?
__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: sitemap variables?
Posted by icewind <ic...@yahoo.com>.
I looked at the threads, and in my sitemap, and
figured that defining something like:
<map:global-parameters>
<map:global-parameter name="doc-base"
value="/home/icewind0/cocoon-files"/>
</map:global-parameters>
I can't figure out how to use it in a pipeline. How do
I reference doc-base in one of my pipelines?
I'm tried:
<map:generate type="directory" src="$doc-base/docs">
[...]
</map:generate>
and
<map:generate type="directory" src="{doc-base}/docs">
[...]
</map:generate>
Neither works. Any suggestions? Is
map:global-parameters documented somewhere?
--- Vadim Gritsenko <va...@verizon.net>
wrote:
> Read on:
>
>
http://marc.theaimsgroup.com/?l=xml-cocoon-users&w=2&r=1&s=global+parame
> ters&q=b
>
> about input modules and other options.
>
> Vadim
__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: sitemap variables?
Posted by Vadim Gritsenko <va...@verizon.net>.
Read on:
http://marc.theaimsgroup.com/?l=xml-cocoon-users&w=2&r=1&s=global+parame
ters&q=b
about input modules and other options.
Vadim
> From: icewind [mailto:icewind0@yahoo.com]
>
> I searched the mailing list archives for "sitemap
> variables" and "sitemap parameters" but didn't find
> anything relevant to what I'm looking to do.
>
> I have a path eg: "/home/me/xmldocs" that appears in
> many of the pipelines in my sitemap.
>
> Is there a way to put this in a variable at the top of
> the sitemap so that if the path to my xml docs
> changes, I would only have to change the sitemap in
> one place?
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>