[racket] xml processing question

From: Manfred Lotz (manfred.lotz at arcor.de)
Date: Thu Dec 23 03:34:00 EST 2010

On Wed, 22 Dec 2010 15:13:58 -0500
Neil Van Dyke <neil at neilvandyke.org> wrote:


> 
> Note that, in practice, you will mix these SXML tools with low-level 
> list-processing tools.  For a simple example, in the example above I 
> used "cadr" as a convenient way to get the first (and only) top-level 
> SXML element.
> 

Thanks a lot for showing me sxml. The example is really helpful to
get a glimpse about the working of sxml-match.

Combining Jay's hint of using xpath I found that this is also possible
using sxpath:

(car ((sxpath "[email protected]/text()") sxml))




-- 
Manfred




Posted on the users mailing list.