Reply to Re: XHTML or HTML 4 ?

Your name:

Reply:


Posted by Leonard Blaisdell on 01/24/06 12:00

In article <1138093793.16298.0@damia.uk.clara.net>,
Marc <mbradshaw@beasolutions.com> wrote:

> 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?

Depending on how complicated your XHTML is, Tidy(free) can certainly
convert XHTML1.0 to HTML4.01 and vice versa with the click of an option.
I'm sure I'm out of my league here and have misunderstood your problem.

leo

--
<http://web0.greatbasin.net/~leo/>

[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

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