all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kendall Shaw <kshaw@kendallshaw.com>
To: help-gnu-emacs@gnu.org
Subject: Re: creating xml files ?
Date: Thu, 26 Oct 2017 21:20:19 -0700	[thread overview]
Message-ID: <3d4ae240-ec9e-fd5a-c31f-528579cc6edd@kendallshaw.com> (raw)
In-Reply-To: <4CB19167-D17C-44D2-8022-5BA57ABEBF3A@gmail.com>

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	other threads:[~2017-10-27  4:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-26 23:27 creating xml files ? Jean-Christophe Helary
2017-10-26 23:36 ` Emanuel Berg
2017-10-27  1:17   ` Jean-Christophe Helary
2017-10-27  4:20     ` Kendall Shaw [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3d4ae240-ec9e-fd5a-c31f-528579cc6edd@kendallshaw.com \
    --to=kshaw@kendallshaw.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.