On Tue, Nov 03, 2009 at 04:24:55PM +0100, Henrik Sarvell wrote: > (in "rss.xml" > (while > (from "<item") > (println > (make > (loop > (NIL (chain (till ">"))) > (char) > (T (tail '`(chop "item") @)) ) ) ) )) > > This will accurately capture the <item> tag all the time I think but > then we need some way of discarding the attributes and the closing >.
I think that from this point on 'match' is the easiest and most general. What 'make' returns is not so big any more, and has also perhaps more predictable patterns. Cheers, - Alex -- UNSUBSCRIBE: mailto:[email protected]?subject=unsubscribe
