emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [babel] trimming tangled code


From: Martin G. Skjæveland
Subject: [Orgmode] [babel] trimming tangled code
Date: Wed, 04 Nov 2009 16:00:28 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Hi all,

I'm using org-babel to tangle XML documents. That works fine (thanks to help from Eric S. on this list yesterday), except it adds(?) space in the beginning (and end) of the output document and front of the xml declaration thus making an invalid XML document. Is it possible to trim this space?

My tangled file looks like:

--8<---------------cut here---------------start------------->8---



<?xml version="1.0" encoding="utf-8"?>
<XML></XML>


--8<---------------cut here---------------end------------->8---

I would prefer:

--8<---------------cut here---------------start------------->8---
<?xml version="1.0" encoding="utf-8"?>
<XML></XML>
--8<---------------cut here---------------end------------->8---


Thanks!
Martin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]