delete from pattern to pattern if it contains match

Peter Otten __peter__ at web.de
Fri Apr 22 05:50:14 EDT 2016


harirammanohar at gmail.com wrote:

>> @peter yes here it is not xml, but real data is an xml..believe me..
> 
> @peter this is the similar xml i am having, you can correlate.
> 
> https://tomcat.apache.org/tomcat-5.5-doc/appdev/web.xml.txt

This is still too vague.

If you post the code you actually tried in a small standalone script 
together with a small sample xml file that produces the same failure as your 
actual data I or someone might help you fix it.




More information about the Python-list mailing list