Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $validator = new DomValidator;
- $validated = $validator->validateFeeds('sample.xml');
- if ($validated) {
- echo "Feed successfully validated";
- } else {
- print_r($validator->displayErrors());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement