From: Sebastian Hungerecker Date: 2009-03-26T03:17:12+09:00 Subject: Re: Parsing xml Peter Zotov wrote: > But this will fail at "some-tag" embedded in other "some-tag" and if   > tag will have arguments. Of course, these variants can be predicted   > and added to regexp too I don't see what you could add to the regexp to handle nested tags. You can't really handle nested structures with regular expressions.