Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to configure some Cocoon sitemap components, e.g. output html encoding or doctype?

0
Posted

How to configure some Cocoon sitemap components, e.g. output html encoding or doctype?

0

The core Cocoon components are defined in the main/webapp/sitemap.xmap file. Normally the default settings are suitable. There are some things that you might like to change per project. For example, change the html encoding for output html files from the default UTF-8 or configure a different document type declaration for the Dispatcher. Create a fresh site with ‘forrest seed’ and see the set of symbols at the src/documentation/resources/schema/symbols-project-v10.ent file. Copy that file to your own projects at the same location. Also add the entry to your project xml catalog as shown in the seed site at src/documentation/resources/schema/catalog.xcat file. Now copy the particular entity that you wish to re-define from main/webapp/resources/schema/entity/symbols-core-v10.ent file into your project symbols file and edit the entity declaration. Re-start Forrest.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.