docb_xml_check.3erl

Langue: en

Version: 296968 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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.