xmldocchecker()
xmldocchecker(xmldocfilename)
[state, errors_detected, warnings_detected] = xmldocchecker(xmldocfilename)
| Parameter | Description |
|---|---|
| xmldocfilename | a string: xml document. |
| Parameter | Description |
|---|---|
| state | a logical: true if the document is valid, false otherwise. |
| errors_detected | a cell of strings: errors detected. |
| warnings_detected | a cell of strings: warnings detected. |
xmldocchecker is a tool to check that a xml document is valid.
Principally used to validate the structure and content of XML files against nelson's help documentation.
xmldocchecker() check validity of all XML documentation files.
xmldocchecker([nelsonroot(),'/module_skeleton/help/en_US/xml/nelson_sum.xml'])
| Version | Description |
|---|---|
| 1.0.0 | initial version |
| 1.15.0 | Use xmlchecker for XML validation. |