Hi all,
Sorry if this question appears twice. I tried to post it last night,
but I've not gotten my email so I assume no on
else did either.
I've got a number of pages that render relative links, but my
application's root is subject to change. I could set the
link base in every document but that would be a bit painful (to say the
least).
Is there a way to set a parameter in the sitemap that can be accessed in
all pipelines? Or maybe some other way to
achieve the same thing?
for example:
<map:match pattern="category/*/*.html">
<map:aggregate element="page">
<map:part src="cocoon:/itemlist/{1}.html?listid={2}"/>
<map:part
src="cocoon:/catnav.xml?base=/cocoon/samples/bringmethis?parent=0"/>
<map:part src="cocoon:/static/logo.xml"/>
<map:part src="cocoon:/ads.xml?pageid=FRONTPAGE"/>
<map:part src="cocoon:/sitenav.xml?base=/cocoon/samples/bringmethis"/>
<map:part src="cocoon:/search.html"/>
<map:part src="cocoon:/jumpmenu.html"/>
</map:aggregate>
<!-- <map:transform src="stylesheets/sidebar.xsl"/> -->
<map:transform src="stylesheets/document2html.xsl"/>
<map:serialize type="html"/>
</map:match>
would it be possible for
<map:part src="cocoon:/sitenav.xml?base=/cocoon/samples/bringmethis"/>
to instead set that to some kind of sitemap-wide parameter?
-Andy
---------------------------------------------------------------------
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]>