File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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' ));
You can’t perform that action at this time.
0 commit comments