Great, thanks! I'll try it out tonight.
On Tue, Nov 3, 2009 at 8:09 PM, Alexander Burger <[email protected]> wrot= e: > On Tue, Nov 03, 2009 at 07:27:47PM +0100, Henrik Sarvell wrote: >> What we need is a test for <item and then some way of >> discarding/ignoring the first ">" when we do subsequent tills. That's >> what I tried to do with an initial (till ">") but it didn't work, like >> this: >> >> (in "rss.xml" >> =A0 (while >> =A0 =A0 =A0(from "<item") >> =A0 =A0 =A0(till ">") > > That's easy. Try two 'from's in succession: > > (in "rss.xml" > =A0(while > =A0 =A0 (from "<item") > =A0 =A0 (from ">") > > This works both for > > =A0 <item>Content</item> > > and > > =A0 <item bla bla>Content</item> > > > 'from' is the main working tool. As you know, you can also pass several > patterns to 'from' (implicit OR, and the return value can be checked in > a 'case' statement), so this is more flexible. > > Cheers, > - Alex > -- > UNSUBSCRIBE: mailto:[email protected]?subject=3dunsubscribe > -- UNSUBSCRIBE: mailto:[email protected]?subject=unsubscribe
