docb_xml_check(3)

NAME
docb_xml_check - Validate XML documentation source code

DESCRIPTION

docb_xml_check contains functions for validating XML documentation source code.

EXPORTS

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

    Types:
        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.