Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZF2 Xpath validator

This is a simple ZF2 componente that will validate that an Xpath expression is valid, not that it will return certain data. Checkout the test cases to see how to use it.

Or, look here:

$validator = new \Magium\Validate\Xpath\XpathValidator();
$validator->isValid('//div'); // returns true

or

$validator = new \Magium\Validate\Xpath\XpathValidator();
$validator->isValid('invalid xpath'); // returns false

About

A Zend Framework 2 validator to ensure valid Xpath

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages