unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Querying sexps a la XPath?
@ 2009-12-15 21:21 Elena
  2009-12-16 13:02 ` Pascal J. Bourguignon
  0 siblings, 1 reply; 2+ messages in thread
From: Elena @ 2009-12-15 21:21 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I have to extract data from some nodes belonging an XML document. I've
found a way to navigate the document structure in the XML Parser
Examples page in EmacsWiki (http://www.emacswiki.org/emacs/
XmlParserExamples).

However, I've often heard that sexps offer similar functionality as
XML. How would then you query a sexps structure?  AFAIK, there is no
library implementing something like SXPath in Emacs Lisp.

Thanks.


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

* Re: Querying sexps a la XPath?
  2009-12-15 21:21 Querying sexps a la XPath? Elena
@ 2009-12-16 13:02 ` Pascal J. Bourguignon
  0 siblings, 0 replies; 2+ messages in thread
From: Pascal J. Bourguignon @ 2009-12-16 13:02 UTC (permalink / raw)
  To: help-gnu-emacs

Elena <egarrulo@gmail.com> writes:

> Hello,
>
> I have to extract data from some nodes belonging an XML document. I've
> found a way to navigate the document structure in the XML Parser
> Examples page in EmacsWiki (http://www.emacswiki.org/emacs/
> XmlParserExamples).
>
> However, I've often heard that sexps offer similar functionality as
> XML. How would then you query a sexps structure?  AFAIK, there is no
> library implementing something like SXPath in Emacs Lisp.

You could easily enough translate SXPath from scheme to emacs lisp.

-- 
__Pascal Bourguignon__
http://www.informatimago.com


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

end of thread, other threads:[~2009-12-16 13:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-15 21:21 Querying sexps a la XPath? Elena
2009-12-16 13:02 ` Pascal J. Bourguignon

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).