Re: overriding the base sitemap
* Upayavira: > Jason Dusek wrote: > > >what is the 'right way' to override the base xslt and all the > >rest? i take it that simply rewriting the sitemap is not quite > >correct, since it gets overwritten on rebuild. > > Or, if you are using the built in Jetty, you can easily > use the mount table matcher to do it for you, just > copy mount-table.xml.sample (or whatever it is called) to > mount-table.xml, and edit it as per the line above. Then you'll > be able to edit your own sitemap as you require. When wishing to customize existing component declarations without having to repeat them in every sub-sitemap, one can use the xpatch Ant task: http://wiki.apache.org/cocoon/XPatchTaskUsage This will allow power-users to update Cocoon without to merge all changes by hand. Just apply the xpatch... Best regards, -- Jean-Baptiste Quenot Systèmes d'Information ANYWARE TECHNOLOGIES Tel : +33 (0)5 61 00 52 90 Fax : +33 (0)5 61 00 51 46 http://www.anyware-tech.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: overriding the base sitemap
Sylvain Wallez wrote: Upayavira wrote: Jason Dusek wrote: what is the 'right way' to override the base xslt and all the rest? i take it that simply rewriting the sitemap is not quite correct, since it gets overwritten on rebuild. where is the right place for user overrides to go? You want to "mount" a new sitemap within the existing one. You can either add a mount entry: Note that in the above you can even remove as it matches everything ;-) The irony there is that I was telling someone just that at the GetTogether :-) I guess old habits die hard :-) Regards, Upayavira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: overriding the base sitemap
Upayavira wrote: Jason Dusek wrote: what is the 'right way' to override the base xslt and all the rest? i take it that simply rewriting the sitemap is not quite correct, since it gets overwritten on rebuild. where is the right place for user overrides to go? You want to "mount" a new sitemap within the existing one. You can either add a mount entry: Note that in the above you can even remove as it matches everything ;-) Sylvain -- Sylvain WallezAnyware Technologies http://people.apache.org/~sylvain http://www.anyware-tech.com Apache Software Foundation Member Research & Technology Director - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: overriding the base sitemap
Jason Dusek wrote: what is the 'right way' to override the base xslt and all the rest? i take it that simply rewriting the sitemap is not quite correct, since it gets overwritten on rebuild. where is the right place for user overrides to go? You want to "mount" a new sitemap within the existing one. You can either add a mount entry: Or, if you are using the built in Jetty, you can easily use the mount table matcher to do it for you, just copy mount-table.xml.sample (or whatever it is called) to mount-table.xml, and edit it as per the line above. Then you'll be able to edit your own sitemap as you require. Regards, Upayavira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]