unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* creating xml files ?
@ 2017-10-26 23:27 Jean-Christophe Helary
  2017-10-26 23:36 ` Emanuel Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Jean-Christophe Helary @ 2017-10-26 23:27 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

Is there a way to create XML files that does not involve concatenating strings?

Jean-Christophe 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: creating xml files ?
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Emanuel Berg @ 2017-10-26 23:36 UTC (permalink / raw)
  To: help-gnu-emacs

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.

-- 
underground experts united
http://user.it.uu.se/~embe8573




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: creating xml files ?
  2017-10-26 23:36 ` Emanuel Berg
@ 2017-10-27  1:17   ` Jean-Christophe Helary
  2017-10-27  4:20     ` Kendall Shaw
  0 siblings, 1 reply; 4+ messages in thread
From: Jean-Christophe Helary @ 2017-10-27  1:17 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list



> 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 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: creating xml files ?
  2017-10-27  1:17   ` Jean-Christophe Helary
@ 2017-10-27  4:20     ` Kendall Shaw
  0 siblings, 0 replies; 4+ messages in thread
From: Kendall Shaw @ 2017-10-27  4:20 UTC (permalink / raw)
  To: help-gnu-emacs

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-10-27  4:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).