Irv,
I have not found anything like this is the Cocoon project, but if you
find something then please let me know :)
To solve this problem we generate internal requests for the common
material. So it would be something like:
<map:pipeline>
<map:match pattern="common-stuff/**">
<map:mount url-prefix="common-stuff/" src="common-stuff.xmap"/>
</map:match>
<map:match pattern="**">
<map:generate src="cocoon:/common-stuff/{1}"/>
<!-- specific stuff here -->
</map:match>
</map:pipeline>
Not sure if this is the best approach, and am interested to see how
others solved the problem?
Scott--
Irv Salisbury wrote:
I have two sitemaps that have some similar map:match and subsequent
pipeline processing elements. Is there any "include" type element for a
sitemap?
I cannot have a common parent sitemap and use a map:mount, so that
option is out.
My only idea at this point is to use the dtd entity replacement type
stuff that you can use on any xml file.
What I'd really like is something like:
<map:pipelines>
<map:include href="../commonPipelines/common.xmap"/>
<!-- Now add my own -->
</map:pipelines>
Any thoughts?
Thanks,
Irv
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]