Return-Path: Delivered-To: apmail-cocoon-docs-archive@www.apache.org Received: (qmail 85499 invoked from network); 22 Sep 2005 13:32:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Sep 2005 13:32:33 -0000 Received: (qmail 36237 invoked by uid 500); 22 Sep 2005 13:32:31 -0000 Delivered-To: apmail-cocoon-docs-archive@cocoon.apache.org Received: (qmail 36203 invoked by uid 500); 22 Sep 2005 13:32:30 -0000 Mailing-List: contact docs-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@cocoon.apache.org List-Id: Delivered-To: mailing list docs@cocoon.apache.org Received: (qmail 36186 invoked by uid 99); 22 Sep 2005 13:32:30 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [207.7.158.203] (HELO cocoon.zones.apache.org) (207.7.158.203) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Sep 2005 06:32:29 -0700 Message-ID: <21751165.1127395738562.JavaMail.daisy@cocoon.zones.apache.org> Date: Thu, 22 Sep 2005 13:28:58 +0000 (GMT+00:00) From: daisy@cocoon.zones.apache.org To: docs@cocoon.apache.org Subject: [DAISY] Updated: Cocoon Sitemap Serializer FAQs Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N A document has been updated: http://cocoon.zones.apache.org/daisy/legacydocs/710.html Document ID: 710 Branch: main Language: default Name: Cocoon Sitemap Serializer FAQs (unchanged) Document Type: Document (unchanged) Updated on: 9/22/05 1:28:50 PM Updated by: Helma van der Linden A new version has been created, state: publish Parts ===== Content ------- This part has been updated. Mime type: text/xml (unchanged) File name: (unchanged) Size: 3676 bytes (previous version: 3606 bytes) Content diff: (11 equal lines skipped) serializer may have additional configuration information specified in child elements.

---

For more conceptual information about serializers see the sitemap. For --- detailed descriptions about all of the available Cocoon serializers, see the --- user's guide document Serializers in Cocoon. You may also wish to consult the +++

For more conceptual information about serializers see +++ the sitemap. For detailed descriptions about all of the +++ available Cocoon serializers, see the user's guide document +++ Serializers in Cocoon. You may also wish to consult the Cocoon API documentation.

What is the easiest way to generate XHTML output?

(12 equal lines skipped) <doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-public> <doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</doctype-system> <encoding>UTF-8</encoding> --- </map:serializer> +++ </map:serializer>

Then, in any pipeline, simply use the serializer as follows.

---
<map:serialize type="xhtml" />
+++
<map:serialize type="xhtml" />
+++ 

How can I remove the DTD declaration at the top of my HTML pages created from pipelines with the default (HTML) serializer?

(8 equal lines skipped) <encoding>ISO-8859-1</encoding> <omit-xml-declaration>true</omit-xml-declaration> </map:serializer> --- +++ <!-- other serializers --> --- +++ </map:serializers> ---

Consider using the XMLSerializer in your pipeline. The XMLSerializer will not --- write a DocType Declaration.

+++

Consider using the XMLSerializer in your pipeline. The +++ XMLSerializer will not write a DocType Declaration.

How can I remove namespaces from my xml files?

(21 equal lines skipped) Fields ====== no changes Links ===== no changes Custom Fields ============= no changes Collections =========== no changes