Aleksander Slominski wrote:
Peter Hendry wrote:
  
More efficient still would be to keep track of the last '<' and
whether it had a '/' after it - then allow returning past '>' if the
last '<' didn't have a '/' (confused? :-) ).
    
not sure if it is going to work with CDATA section (they can contain
"unbalanced" XML)
  

Why not? It is just an optimization. You can't have CDATA in an end tag so you should not go past the '>' of the end tag whether there is CDATA or not.

Pete




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to