help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: creating xml files ?


From: Kendall Shaw
Subject: Re: creating xml files ?
Date: Thu, 26 Oct 2017 21:20:19 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 10/26/2017 06:17 PM, Jean-Christophe Helary wrote:


On Oct 27, 2017, at 8:36, Emanuel Berg <moasen@zoho.com> wrote:

Jean-Christophe Helary wrote:

Is there a way to create XML files that does
not involve concatenating strings?
$ touch file.xml # :S ???

Open a file with an .xml extension and it
should put you in nXML mode which is the/a
major mode for editing XML.
Thank you Emanuel.

Fair enough :-)

What I meant is I'm looking for a way to feed tags/properties/contents to a 
file in a way that does not involve concatenation. I use nxml to validate XML 
often enough, but besides for that I have no clear idea how to handle that.

Jean-Christophe

Thank you for asking this question, because I would like to know. I am going to look into:

xml-mode that comes with emacs has a print function that takes "nodes" and serializes them as XML text. There are variables that describe what a node is.

esxml intends to be sxml (http://okmij.org/ftp/Scheme/SXML.html) for elisp.

xmlgen - https://github.com/philjackson/xmlgen

Kendall





reply via email to

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