Reply to parsing tags with regexp

Your name:

Reply:


Posted by marcin on 03/13/06 18:58

Hello!

I spent some time trying to create regexp for parsing some xml-like tags.
I need to catch two type of blocks by one regexp:
1. <xxx:tagname optional_parameters />
2. <xxx:tagname optional_parameters>optional content</xxx:tagname>
but "optional content" may have other <xxx:tagname> tags (childs)

I can't use typical xml parser, because document isn't xml valid.
Do you have any suggestions? I'll be thankful for any solution.

Greetz,
marcin

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация