* Bill de hÓra <[EMAIL PROTECTED]> [2005-08-22 19:00]: > In XMPP, you can reset on seeing </atom:entry>,
Really? <![CDATA[ </entry> ]]> Or maybe <![CDATA[ <![CDATA[ </entry> ]]> These are probably the only exceptions (I might be missing some, though), but they’re enough to demonstrate that you will need to write a parser, even if only a relatively simple one. Using a character which is illegal in XML and can never be part of a well-formed document as a separator is a clever way to avoid having to do *any* parsing *whatsoever*. You just scan the stream for the character and start over when you see it, end of story. No need to keep state or look for patterns or anything else. Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>