Hi Petko

Although resources are not inherited you can still reuse resource
declarations by declaring them
in a separate file and including that in each sitemap as an XML entity:

<!DOCTYPE sitemap [
    <!ENTITY resources SYSTEM "file:includes/resources.xml">
]>

<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0";>
...
&resources;
...
</map:sitemap>

Cheers
Adam

> -----Original Message-----
> From: Petko Petkov [mailto:[EMAIL PROTECTED]
> Sent: Sunday, 13 March 2005 6:19 p.m.
> To: [email protected]
> Subject: Resources
>
>
> I tried to access a resource that is declared in the root sitemap from
> one of mine sub sitemaps, but it didn't work. I can see the resources
> are not inherited. Is there anyway to do this?
>
> Thanks!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


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

Reply via email to