Validate XML documentation source code

docb_xml_check contains functions for validating XML documentation source code.


validate(File) -> ok | error | {error, badfile}

  • File = string()

Validates the XML documentation source code in File. The .xml extension can be omitted.

Returns ok if successful, otherwise error information is printed and the function returns error. If File does not exist, {error, badfile} is returned.

View Functions