You are here: Using PHP to screen out bad characters before writing XML « All PHP « IT news, forums, messages
Using PHP to screen out bad characters before writing XML

Posted by gene.ellis on 04/21/06 20:50

Hello,

I have a web form that that takes input from a user and then creates an
XML file from it. The problem is that from time to time "bad"
characters (meaning characters that an XSLT parser will choke on) are
inputed and it breaks the system. What sort of error checking can I use
to where it will screen out any character the XML parser won't like,
before it gets to that stage? The system tends to chock on really weird
formatting that comes out of Microsoft Word when people copy+paste
words/phrases that Microsoft has underlined as being misspelled. Anyone
know of a good error checking mechanism? Thank you so much!

 

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

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