Reply to Re: how to include xml code as content in an html file?

Your name:

Reply:


Posted by Jukka K. Korpela on 10/04/06 23:07

Scripsit Harlan Messinger:

> If you want tags, whether XML or HTML, to appear literally in your
> content you need to use "&lt;" (i.e., less than) instead of "<" and
> "&gt;" (greater than) instead of ">".

Except that you never _need_ to escape ">" (though you're allowed) and you
_do_ need to escape "&" quite often (e.g., always in XHTML).

But if this is what the OP wanted (the original question has several
interpretations), then it's time to remind: if you needed to ask for help in
displaying markup on a web page, you are not qualified to give others advice
on using markup, as you apparently meant to.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[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

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