Re: [ssax-sxml] how to unwrap a tag in pre-post-order
Brought to you by:
oleg
From: Oleg P. <ol...@uu...> - 2011-08-18 11:13:28
|
Hello Peter, On Wed, 17 Aug 2011 14:34:25 +0200 Peter Bex <Pet...@xs...> wrote: ... > > I think what you're looking for is "pre-post-order-splice": Thanks a lot! > > (pre-post-order-splice doc > `((*default* . ,(lambda args args)) > (proxy . ,(lambda (tag . kids) kids))))) > => > (*TOP* (chapter (section) (section))) > > See the notes near the end of lib/SXML-tree-trans.scm in the SSAX > distribution. > > HTH, > Peter Bex > -- > http://sjamaan.ath.cx -- Oleg Parashchenko olpa@ http://uucode.com/ http://uucode.com/blog/ XML, TeX, Python, Mac, Chess |