Re: [xml] validating the DTD under PHP-DOMXML

Sergi March said at 15:18 8-1-2002:

Is there a way to validate an XML document against a given DTD under the PHP-DOMXML api?

I would strongly advise against using this extension in a production
environment. It is expirimental and allthough much has improved in the
latest release, it is just mature enough to start playing with it.
This also means, it hasn't had a good userbase yet, to find any significant

That said, the extension doesn't provide the ability to validate a dtd.

Use backticks to xmllint, would be my choice.

Best regards,

Melvyn Sopacua
If it applies, where it applies - this email is a personal
contribution and does not reflect the views of my employer

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