Skip to content

Commit

Permalink
Merge pull request #4 from mNalon/fix-readme
Browse files Browse the repository at this point in the history
remove unnecessary spaces and unexpected characters
  • Loading branch information
cdegalitt authored Oct 21, 2020
2 parents e994a9b + 1b9c74a commit 8d99cf9
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ Basic usage

```js
var xsd = require('libxmljs2-xsd');
// throws in case of error
var schema = xsd.parseFile(schemaPath);
// throws in case of technical error, returns a list of validation errors,
// or null if the document is valid
var validationErrors = schema.validate(documentString);
});
// throws in case of error
var schema = xsd.parseFile(schemaPath);
// throws in case of technical error, returns a list of validation errors,
// or null if the document is valid
var validationErrors = schema.validate(documentString);
```

libxmljs2 integration
Expand Down

0 comments on commit 8d99cf9

Please sign in to comment.