Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.
/ xml-validator Public archive

PHP XML validator

License

Notifications You must be signed in to change notification settings

libero/xml-validator

Repository files navigation

PHP XML Validator

Build Status

This is a library for validating XML against one or more schemas.

Getting started

Using Composer you can install the coding standard into your project:

composer require libero/xml-validator

The core of this library is the XmlValidator interface, which can be used to test the validity of a DOMDocument.

Implementations

Runs multiple validators and combines their results.

Validates against the Document Type Definition (DTD).

Always produces the configured result. Useful for testing.

Validates against a RELAX NG schema.

Validates against Schematron (using XSLT 1.0), which may be embedded inside a RELAX NG schema or an XML Schema Definition.

Validates against an XML Schema Definition (XSD).

Getting help

About

PHP XML validator

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages