Reply to Validating XML structure with PHP

Your name:

Reply:


Posted by Eli on 03/29/05 06:26

Hi,

I want to validate an XML structure using PHP.
I thought of using PHP's DOM and XSD or DTD for validation. This does
the job ok, except on invalid XML structure I get the same error code.
What I want is to point exactly why the XML structure is invalid. I know
there's also an error message that gives a bit more precision on the
cause, but it's not something I can show the user.

Is there another way to validate XML structure (that can give a precise
error cause, like missing element, invalid element value, etc)?

-thanks, Eli

[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

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