php record,PHP - Manual: yaz_record (官方文档)

string

The record is returned as a string for simple display.

In this mode, all MARC records are converted to a line-by-line format

since ISO2709 is hardly readable.

XML records and SUTRS are returned in their original format.

GRS-1 are returned in a (ugly) line-by-line format.

This format is suitable if records are to be displayed in a quick

way - for debugging - or because it is not feasible to perform

proper display.

xml

The record is returned as an XML string if possible.

In this mode, all MARC records are converted to

» MARCXML.

XML records and SUTRS are returned in their original format.

GRS-1 is not supported.

This format is similar to string except that

MARC records are converted to MARCXML

This format is suitable if records are processed by an XML parser

or XSLT processor afterwards.

raw

The record is returned as a string in its original form.

This type is suitable for MARC, XML and SUTRS. It does not

work for GRS-1.

MARC records are returned as a ISO2709 string. XML and SUTRS are

returned as strings.

syntax

The syntax of the record is returned as a string, i.e.

USmarc, GRS-1,

XML, etc.

database

The name of database associated with record at the position

is returned as a string.

array

The record is returned as an array that reflects the GRS-1

structure. This type is suitable for MARC and GRS-1. XML, SUTRS

are not supported and if the actual record is XML or SUTRS an

empty string will be returned.

The array returned consists of a list corresponding to

each leaf/internal node of GRS-1. Each list item consists

a sub list with first element path and

data (if data is available).

The path which is a string holds a list of each tree component (of

the structured GRS-1 record) from root to leaf. Each component is

a tag type, tag value pair of the form

(type,

value

String tags normally has a corresponding tag type 3.

MARC can also be returned as an array (they are converted to

GRS-1 internally).

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值