Skip to content

Commit c89fc32

Browse files
authored
Merge pull request #2 from mrothenbuecher/patch-1
Update Readme.md
2 parents 9d7baa5 + f5b8309 commit c89fc32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ Node-libxml has been thought differently than [libxmljs](https://github.com/libx
4545
let xmlIsWellformedStr = libxml.loadXmlFromString('<name>test</name>');
4646

4747
console.log(xmlIsWellformed);
48-
console.log(xmlIsWellformed.wellformedErrors);
48+
console.log(libxml.wellformedErrors);
4949

5050
console.log(libxml.getDtd());
5151

5252
libxml.loadDtds(['path/to/dtd1', 'path/to/dtd2']);
53-
let xmlIsValid = libxml.validateAgainstDtd();
53+
let xmlIsValid = libxml.validateAgainstDtds();
5454
console.log(xmlIsValid);
55-
console.log(xmlIsValid.validationDtdErrors);
55+
console.log(libxml.validationDtdErrors);
5656

5757
//Get some xpaths;
5858
let aRandomPathBoolean = libxml.xpathSelect('boolean(//some/path'));

0 commit comments

Comments
 (0)