NAME

Net::Z3950::DBIServer::SUTRS - build SUTRS records for DBIServer

SYNOPSIS

$rec = Net::Z3950::DBIServer::SUTRS::format(
	{ title=>'Mr', forename=>'Eric', surname=>'1/2 Bee' },
	$config);

DESCRIPTION

This non-OO module exists only to provide a single function which formats a set of fields as a SUTRS record.

METHODS

format()

$rec = Net::Z3950::DBIServer::SUTRS::format($hashref, $config);

Creates and returns, as an unblessed string, a new SUTRS record containing the specified fields according to the configuration specified in the database-and-record-syntax-specific configuration segment $config, of type Net::Z3950::DBIServer::Config::XMLSpec.

AUTHOR

Mike Taylor <mike@miketaylor.org.uk>

First version Sunday 10th April 2005.

SEE ALSO

Net::Z3950::DBIServer is the module that uses this.