Re: [xml] XML validation



Daniel Veillard wrote:
Hum, PHP uses libxml2 at least starting from 5.0. You should be able to capture the parsing error messages, check the docs, I would
be really surprized if it wasn't there.

Daniel

Well, I found this:

<http://svncommunity.digium.com/view/asterisk-docs/scripts/xml-check.php?rev=1&view=markup>

which can be adapted easily enough. The key is the passthru function which I didn't even know existed....

--Yan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]