* Bult-in XSLT processor
@ 2017-06-08 2:38 Etienne Prud’homme
2017-06-08 7:10 ` Yuri Khan
0 siblings, 1 reply; 6+ messages in thread
From: Etienne Prud’homme @ 2017-06-08 2:38 UTC (permalink / raw)
To: emacs-devel
While trying to discover XSLT, I saw that Emacs doesn’t seem to have an
XSLT processor built-in. That surprised me given it can be used in a
variety of contexts (I’m still discovering that though).
I’m not talking about XSLT editing functionality. nXMl-mode seems to do
a pretty good job on XML documents (XSLT is XML based). I’m talking
about a library that can transform XML file according to an XSLT
stylesheet.
The only support I’ve seen so far is by using the very old
`xslt-process' package and it’s using Java libraries.
Would it be worth the effort to make an XSLT processor in Emacs Lisp?
--
Etienne
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Bult-in XSLT processor
2017-06-08 2:38 Bult-in XSLT processor Etienne Prud’homme
@ 2017-06-08 7:10 ` Yuri Khan
2017-06-08 18:18 ` Etienne Prud’homme
0 siblings, 1 reply; 6+ messages in thread
From: Yuri Khan @ 2017-06-08 7:10 UTC (permalink / raw)
To: Etienne Prud’homme; +Cc: Emacs developers
On Thu, Jun 8, 2017 at 9:38 AM, Etienne Prud’homme
<e.e.f.prudhomme@gmail.com> wrote:
> While trying to discover XSLT, I saw that Emacs doesn’t seem to have an
> XSLT processor built-in. That surprised me given it can be used in a
> variety of contexts (I’m still discovering that though).
>
> I’m not talking about XSLT editing functionality. nXMl-mode seems to do
> a pretty good job on XML documents (XSLT is XML based). I’m talking
> about a library that can transform XML file according to an XSLT
> stylesheet.
>
> The only support I’ve seen so far is by using the very old
> `xslt-process' package and it’s using Java libraries.
Have you tried libxslt and its xsltproc tool?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Bult-in XSLT processor
2017-06-08 7:10 ` Yuri Khan
@ 2017-06-08 18:18 ` Etienne Prud’homme
2017-06-08 19:03 ` Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: Etienne Prud’homme @ 2017-06-08 18:18 UTC (permalink / raw)
To: Yuri Khan; +Cc: Emacs developers
We would have to include yet another library to support. Since we had a
built-in XML processor, I thought including an XSLT processor would be
beneficial (while not excluding supporting libxslt).
To respond to the question, yes I have tried it ;-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Bult-in XSLT processor
2017-06-08 18:18 ` Etienne Prud’homme
@ 2017-06-08 19:03 ` Eli Zaretskii
2017-06-08 19:33 ` Etienne Prud’homme
0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2017-06-08 19:03 UTC (permalink / raw)
To: Etienne Prud’homme; +Cc: emacs-devel, yuri.v.khan
> From: Etienne Prud’homme <e.e.f.prudhomme@gmail.com>
> Date: Thu, 08 Jun 2017 14:18:29 -0400
> Cc: Emacs developers <emacs-devel@gnu.org>
>
> We would have to include yet another library to support. Since we had a
> built-in XML processor, I thought including an XSLT processor would be
> beneficial (while not excluding supporting libxslt).
What do you mean by "built-in XML processor"?
And we do use libxml2 for supporting various features.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Bult-in XSLT processor
2017-06-08 19:03 ` Eli Zaretskii
@ 2017-06-08 19:33 ` Etienne Prud’homme
2017-06-08 19:50 ` Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: Etienne Prud’homme @ 2017-06-08 19:33 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel, yuri.v.khan
Eli Zaretskii <eliz@gnu.org> writes:
> What do you mean by "built-in XML processor"?
>
> And we do use libxml2 for supporting various features.
I meant the _xml.el_ library. I didn’t take a look at the current use
of libxml2, but I assumed that _xml.el_ was mostly the parser used.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Bult-in XSLT processor
2017-06-08 19:33 ` Etienne Prud’homme
@ 2017-06-08 19:50 ` Eli Zaretskii
0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2017-06-08 19:50 UTC (permalink / raw)
To: Etienne Prud’homme; +Cc: emacs-devel, yuri.v.khan
> From: Etienne Prud’homme <e.e.f.prudhomme@gmail.com>
> Cc: yuri.v.khan@gmail.com, emacs-devel@gnu.org
> Date: Thu, 08 Jun 2017 15:33:22 -0400
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > What do you mean by "built-in XML processor"?
> >
> > And we do use libxml2 for supporting various features.
>
> I meant the _xml.el_ library.
Ah, okay. But isn't the implementation ion xml.c based on libxml2
faster?
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-06-08 19:50 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-08 2:38 Bult-in XSLT processor Etienne Prud’homme
2017-06-08 7:10 ` Yuri Khan
2017-06-08 18:18 ` Etienne Prud’homme
2017-06-08 19:03 ` Eli Zaretskii
2017-06-08 19:33 ` Etienne Prud’homme
2017-06-08 19:50 ` Eli Zaretskii
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.