docb_xml_check(3erl)

docb_xml_check3erl

Validate xml documentation source code

Overview

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.

Releases

2 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0
  2. 6.0

From erlang-manpages 1:14.a-dfsg-3squeeze1 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.