Description
int
yaz_syntax
( int id, string syntax)
The
syntax
is
specified
as
an
OID
(
Object
Identifier
)
in
a
raw
dot-notation
(like
1.2.840.10003.5.10
)
or
as
one
of
the
known
registered
record
syntaxes
(sutrs
,
usmarc
,
grs1
,
xml
,
etc
.
).
This
function
is
used
in
conjunction
with
yaz_search(
)
and
yaz_present(
)
to
specify
the
preferred
record
syntax
for
retrieval
.