yaz_syntax

(PHP4 >= 4.0.1)

yaz_syntax --  Specifies the object identifier (OID) for the preferred record syntax for retrieval.

Description

int yaz_syntax (int id, string syntax)

The syntax may be specified in a raw dot-notation (like 1.2.840.10003.5.10) or as one of the known record syntaxes (sutrs, usmarc, grs1, xml, etc.). This function is used in conjunction with yaz_search() to specify the preferred record syntax for retrieval.