From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [babel] trimming tangled code Date: Wed, 04 Nov 2009 15:19:41 -0700 Message-ID: References: <4AF1970C.1040407@ifi.uio.no> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5oCk-0007O5-SD for emacs-orgmode@gnu.org; Wed, 04 Nov 2009 17:19:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5oCg-0007Lk-9X for emacs-orgmode@gnu.org; Wed, 04 Nov 2009 17:19:50 -0500 Received: from [199.232.76.173] (port=60939 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5oCg-0007Lf-1y for emacs-orgmode@gnu.org; Wed, 04 Nov 2009 17:19:46 -0500 Received: from mail-px0-f189.google.com ([209.85.216.189]:51534) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N5oCf-0000ab-NW for emacs-orgmode@gnu.org; Wed, 04 Nov 2009 17:19:45 -0500 Received: by pxi27 with SMTP id 27so5248166pxi.25 for ; Wed, 04 Nov 2009 14:19:44 -0800 (PST) In-Reply-To: <4AF1970C.1040407@ifi.uio.no> ("Martin G. =?utf-8?Q?Skj=C3=A6?= =?utf-8?Q?veland=22's?= message of "Wed, 04 Nov 2009 16:00:28 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?utf-8?Q?Martin_G=2E_Skj=C3=A6veland?= Cc: emacs-orgmode@gnu.org Hi Martin, I just pushed up some changes to the org-babel-tangle functionality which should fix this problem. Best -- Eric "Martin G. Skj=C3=A6veland" writes: > Hi all, > > I'm using org-babel to tangle XML documents. That works fine (thanks to=20 > help from Eric S. on this list yesterday), except it adds(?) space in=20 > the beginning (and end) of the output document and front of the xml=20 > declaration thus making an invalid XML document. Is it possible to trim=20 > this space? > > My tangled file looks like: > > > > > > > > > > I would prefer: > > > > > > Thanks! > Martin > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode