You are here: Re: Convert HTML Tags to Lower-case for XHTML Compliance « HTML « IT news, forums, messages
Re: Convert HTML Tags to Lower-case for XHTML Compliance

Posted by mbstevens on 11/30/06 23:41

On Thu, 30 Nov 2006 22:23:01 +0000, mbstevens wrote:

>> html = html.Replace("<" + s.ToUpper(), "<" + s).Replace("/" + s.ToUpper() + ">", "/" + s + ">");;


> Begin to see why a fairly elaborate parser is needed?

The other thing that worries me is that you are converting the
string with ToUpper() instead of ToLower(). That has to have some
bizarre consequences if you're trying to convert to lower case.

 

Navigation:

[Reply to this 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

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