Return-Path: X-Original-To: apmail-cocoon-users-archive@www.apache.org Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2A32F106AA for ; Thu, 22 Aug 2013 10:01:54 +0000 (UTC) Received: (qmail 27804 invoked by uid 500); 22 Aug 2013 10:01:53 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 27300 invoked by uid 500); 22 Aug 2013 10:01:43 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 27293 invoked by uid 99); 22 Aug 2013 10:01:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Aug 2013 10:01:41 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of scherler@gmail.com designates 209.85.214.46 as permitted sender) Received: from [209.85.214.46] (HELO mail-bk0-f46.google.com) (209.85.214.46) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Aug 2013 10:01:35 +0000 Received: by mail-bk0-f46.google.com with SMTP id 6so578425bkj.5 for ; Thu, 22 Aug 2013 03:01:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=HY/golaeNlC5HYgLb3p2YKflQpX0V5Z9vxyMPUqBXDI=; b=ZGe8mfAwqkQChkzdOPTlawJ965iSwlQ5BWpbrVF8/Hs57xv++9UFNOlYvdL3n79AJp ipk7I90WpaUVqk16GOLvJbtIsuLyYNL7eYA+00xJ0NG/yvL1l+YBxHb+2eovJhG7P0CJ 8l96wl9/98U5/78mTpCucl2lu4WoV7kBCfG6eSCpKlNQpVXsppTAnivJosA27IwXFsNJ 3l7ulIFepzPrY3LZO2vPwxLRXBg1RvNF5Eg8rqSrIY5OWTaiDcsbYT7ctQwnTktqotky 7q4Q+L0XTQV70rEVJG4xl5NA43jHMVIyMJ+dswxkAvtBeKrAlVbCSIjlDWMvR6LAGTNt pfIg== X-Received: by 10.204.224.142 with SMTP id io14mr1343463bkb.27.1377165675106; Thu, 22 Aug 2013 03:01:15 -0700 (PDT) Received: from [10.0.0.17] (94.168.216.87.static.jazztel.es. [87.216.168.94]) by mx.google.com with ESMTPSA id pn6sm2748924bkb.14.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 22 Aug 2013 03:01:13 -0700 (PDT) Message-ID: <5215E167.2000204@gmail.com> Date: Thu, 22 Aug 2013 12:01:11 +0200 From: Thorsten Scherler User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8 MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Remove XML declaration and html DOCTYPE References: <52152EB4.5080805@bnnperformances.de> In-Reply-To: <52152EB4.5080805@bnnperformances.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 08/21/2013 11:18 PM, Bardo Nelgen wrote: > > Hi all, > > sorry to pick this up again so late, but is there a solution for > Cocoon 2.2 as well? > > Tried both approaches without the desired result, for a piece of > generated JavaScript� > > As the XML serialization did not work as advertised in this thread so > far, I'm currently going with > >> > > and keep getting > > http://www.cityapi.eu/semaworx/MyCompressed.js > > Looking for ideas on how to make the Doctype disappear *without* > running an extra XSLT cycle? > > Any hint is appreciated!! > > Best, > > Bardo > > > On 19.06.13 18:55, Mansour Al Akeel wrote: >> > On this eMail the reason why top posting is not such a good idea for ml. I have no clue about the context. However will return mime-type="text/plain" You want mime-type="application/json" HTH -- Thorsten Scherler codeBusters S.L. - web based systems http://www.codebusters.es/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org