Reply to Re: html in xml, php & flash

Your name:

Reply:


Posted by Colin McKinnon on 12/16/93 11:58

Rebecca Tsukalas wrote:

>
> i already have some methods of resolution to solve the problem:
> - modify the html tags in the php code, so simplexml does not recognize
> them as xml-tags - replace/delete the &lt and &gt or cdata by string
> operator in flash - code own php script to put the xml into a php array
>

I guess the question is really this: Is the HTML always atomic wrt the XML -
in which case it doesn't matter.

The CDATA thing will work as long as you don't have CDATA encolsures within
your html. Personally, I would go for base64 encoding the html and
including the encoding mechanism in the markup - that should be less of an
overhead than the string replace method and (IIRC) the HTML can be
reconstructred by XSLT.

Of course, if you're HTML is not atomic with regard to the XML, then you've
got quite a different problem.

HTH

C.

[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

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