[plt-scheme] XML parent element

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Wed Mar 14 22:04:35 EDT 2007

No, if you mean (lib "xml.ss" "xml").

Yes, I believe, if you are using ssax. -- Matthias


On Mar 14, 2007, at 9:45 PM, Rainer Gross wrote:

> Hello,
>
> is there a way in the XML library to obtain the parent element of  
> an element structure?
>
> e.g:
>
> <a><b><c/></b></c>
>
> (element-name el)
> -> c
>
> (element-name (element-parent el))
> -> b
>
> thanks for any hint.
>
> best regards
>
> Rainer
>
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme



Posted on the users mailing list.