# docb_xml_check

### MODULE

docb_xml_check

### MODULE SUMMARY

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.

### AUTHORS

Gunilla Arendt - support@erlang.ericsson.se

docbuilder 0.9
Copyright © 1991-2007 Ericsson AB