[Net-z3950] SimpleServer > $args->{REP_FORM}

Jap Boon Churn jbchurn at yahoo.com
Thu May 29 12:31:44 CEST 2008


Dear Mike,

The sample code in ztest.pl passes "Net::Z3950::OID::xml" to it.

Just wonder, is "Net::Z3950::OID::xml" equivalent to "XML"?


----- Original Message ----
From: Mike Taylor <mike at indexdata.com>
To: Jap Boon Churn <jbchurn at yahoo.com>
Cc: net-z3950 <net-z3950 at lists.indexdata.dk>
Sent: Thursday, May 29, 2008 6:14:38 PM
Subject: [Net-z3950] SimpleServer > $args->{REP_FORM}

Jap Boon Churn writes:
> Dear Sir,
> 
> What value should I set for the argument: $args->{REP_FORM} in
> fetch handler if I return :
> 
> 1. USMARC

"USMARC"

> 2. MARCXML

"XML"

> Between, does SimpleServer does anything behind the scene when we
> provide the REP_FORM info to it?

It translates the string that you give it into an OID to include in
the Z39.50 response.

_/|_     ___________________________________________________________________
/o ) \/  Mike Taylor    <mike at indexdata.com>    http://www.miketaylor.org.uk
)_v__/\  "Somehow, the price of clarity is complexity" -- Prof. Sacks
     (Mathematical Logic professor at Harvard)


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.indexdata.dk/pipermail/net-z3950/attachments/20080529/2cfa47b1/attachment.htm 


More information about the Net-z3950 mailing list