Reply to Re: XHTML or HTML 4 ?

Your name:

Reply:


Posted by Marc on 01/24/06 11:09

David Dorward wrote:
>>>My own CMS takes XHTML input but runs it through some XSLT to
>>>output HTML 4.01, and this works pretty well for me.
>
>>For what reason? Why not just take HTML input and save your CMS the
>>work of converting it using XSLT?
>
> I had a lot of content in XHTML format already (from my XHTML fanboy days),
> and it makes it easier to convert content to ATOM and other XML formats.

I have a Java-based rich-text editor which outputs XHTML, and although
none of it is complex, my main problem is tag termination - ('<img ...
/>' instead of '<img ... >'). If I revert back to HTML, would XSLT be
the best way to convert this before putting it into the database? Or
would I be better of using some kind of regular expression in my PHP to
convert it?

Marc

[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

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