The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

SYNOPSIS

$rec = Net::Z3950::DBIServer::XML::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 an XML record.

METHODS

format()

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

Creates and returns, as an unblessed string, a new XML 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 24th February 2002.

SEE ALSO

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