Re: Announce: sxml-match, a pattern matcher for SXML
"Dmitry Lizorkin" <[email protected]> Thu, 17 Mar 2005 14:12:17 +0300
| Newsgroups | gmane.lisp.scheme.ssax-sxml |
|---|---|
| Message-ID | <[email protected]> |
Hello! > I have just add this to sxml-match. It is now possible to write > your example, > > (sxml-match '(elem (@ (a 1) (b 2) (c 3) (d 4))) > [(elem (@ (a ,i) (b ,j) . ,x)) > (list i j x)]) > > And get the expected result: > > ==> (1 2 ((c 3) (d 4))) Jim, I like your pattern matcher a lot! I rewrote the code I currently develop using sxml-match, and the code became by almost 10% more compact and its readability improved significantly. Thank you for providing support for matching the 'Unmatched attributes. It is really helpful for me. Sincerely, Dmitry ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click