all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Producing HTML/XML/SGML
@ 2022-10-29 22:00 Stefan Monnier
  2022-10-30  0:40 ` T.V Raman
  2022-10-30  3:42 ` Visuwesh
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Monnier @ 2022-10-29 22:00 UTC (permalink / raw)
  To: emacs-devel

Do we have somewhere something like the reverse of
libxml-parse-xml-region?  It doesn't have to use the same syntax, but
the idea is some way to produce valid HTML code without having to worry
so much about proper quoting and things like that.

IOW, something that does for XML/HTML what `rx` does for
regular expressions.


        Stefan




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

* Re: Producing HTML/XML/SGML
  2022-10-29 22:00 Producing HTML/XML/SGML Stefan Monnier
@ 2022-10-30  0:40 ` T.V Raman
  2022-10-30  3:06   ` Stefan Monnier
  2022-10-30  3:42 ` Visuwesh
  1 sibling, 1 reply; 5+ messages in thread
From: T.V Raman @ 2022-10-30  0:40 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb18030, Size: 273 bytes --]

There is something called esxml on the JS side that I've not used by
seein in passing; it may even have some kind of spec that is more than a
speculation behind it.

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
7©4 Id: kg:/m/0285kf1  •0Ü8



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

* Re: Producing HTML/XML/SGML
  2022-10-30  0:40 ` T.V Raman
@ 2022-10-30  3:06   ` Stefan Monnier
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2022-10-30  3:06 UTC (permalink / raw)
  To: T.V Raman; +Cc: emacs-devel

> There is something called esxml on the JS side that I've not used by
> seein in passing; it may even have some kind of spec that is more than a
> speculation behind it.

Thanks, exactly what I was looking for.


        Stefan




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

* Re: Producing HTML/XML/SGML
  2022-10-29 22:00 Producing HTML/XML/SGML Stefan Monnier
  2022-10-30  0:40 ` T.V Raman
@ 2022-10-30  3:42 ` Visuwesh
  2022-10-30  3:52   ` Stefan Monnier
  1 sibling, 1 reply; 5+ messages in thread
From: Visuwesh @ 2022-10-30  3:42 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

[சனி அக்டோபர் 29, 2022] Stefan Monnier wrote:

> Do we have somewhere something like the reverse of
> libxml-parse-xml-region?  It doesn't have to use the same syntax, but
> the idea is some way to produce valid HTML code without having to worry
> so much about proper quoting and things like that.

How about `dom-print'?  It uses the same syntax as the one returned by
libxml-parse-xml-region, and you can use rest of the dom library to
manipulate the structure.



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

* Re: Producing HTML/XML/SGML
  2022-10-30  3:42 ` Visuwesh
@ 2022-10-30  3:52   ` Stefan Monnier
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2022-10-30  3:52 UTC (permalink / raw)
  To: Visuwesh; +Cc: emacs-devel

Visuwesh [2022-10-30 09:12:17] wrote:
> [சனி அக்டோபர் 29, 2022] Stefan Monnier wrote:
>> Do we have somewhere something like the reverse of
>> libxml-parse-xml-region?  It doesn't have to use the same syntax, but
>> the idea is some way to produce valid HTML code without having to worry
>> so much about proper quoting and things like that.
>
> How about `dom-print'?  It uses the same syntax as the one returned by
> libxml-parse-xml-region, and you can use rest of the dom library to
> manipulate the structure.

Excellent, thanks,


        Stefan




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

end of thread, other threads:[~2022-10-30  3:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-29 22:00 Producing HTML/XML/SGML Stefan Monnier
2022-10-30  0:40 ` T.V Raman
2022-10-30  3:06   ` Stefan Monnier
2022-10-30  3:42 ` Visuwesh
2022-10-30  3:52   ` Stefan Monnier

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.