Re: how to unwrap a tag in pre-post-order
Oleg Parashchenko <olpa-1YK4M1/[email protected]> Thu, 18 Aug 2011 13:11:27 +0200
| Newsgroups | gmane.lisp.scheme.ssax-sxml |
|---|---|
| Organization | private person |
| Message-ID | <[email protected]> |
Hello Peter, On Wed, 17 Aug 2011 14:34:25 +0200 Peter Bex <Peter.Bex-qWit8jRvyhVmR6Xm/[email protected]> 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 ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2