You are here: Re: html into xml tag? « PHP Programming Language « IT news, forums, messages
Re: html into xml tag?

Posted by Kim Andr� Aker� on 08/31/06 21:57

Alex wrote:

> hello! do u know how can i put html into and xml tag
> Example:
>
> <element><br></element>
>
> i receive error "the page is not well formatted" ...

That is because <br> will also be parsed by the XML parser. Instead,
try this:

<element><![CDATA[<br>]]></element>

http://www.w3schools.com/xml/xml_cdata.asp

--
Kim André Akerø
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)

 

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

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