Name

version — extract CVS version information from string

Synopsis

<?xpt loadmodule xpt.docbook5 ?>
<?xpt version "$Id: document.xml,v 1.2 2011-04-03 04:51:11 coder Exp $"?>

Description

The version function extracts CVS information from the supplied string which is assumed to be the value of the CVS Id keyword. Extracted information is saved in the XPT variables __cvs_filename__, __cvs_version__, __cvs_date__, __cvs_time__, __cvs_user__.

Return value

Nothing

Errors

In case of an error an exception is raised.

See Also

xpt(1).