[Yazlist] PQF AttributeType Question

Adam Dickmeiss adam at indexdata.dk
Wed Oct 10 23:00:50 CEST 2001


On Wed, Oct 10, 2001 at 02:20:15PM -0600, Galium wrote:
> 
> Sorry for my confusing post. Yes AttributeType is always a number, new that,
> what I meant is that I used to think an attribute type of 1 meant it was a
> text type, while say 2 was an integer, etc.
> 
> The question is not that attribute type in @attr 1=4 is 1, but rather what
> is 1 in refernce too, what does 1 mean, a type of what?

For Bib-1 attribute set, and some others, type 1 specifies the *use* attribute,
type 2 specifies *relation*, etc. Refer to the Z39.50 standard for a list of
common attribute sets:
http://lcweb.loc.gov/z3950/agency/markup/13.html

For Bib-1 semantics this is a must read:
ftp://ftp.loc.gov/pub/z3950/defs/bib1.txt

For the latest additions to Bib-1:
http://lcweb.loc.gov/z3950/agency/defns/bib1.html

Cheers,
  Adam

> Hope thats a bit clearer.
> 
> Thanks again,
> 
> Ken
> 
> -----Original Message-----
> From: yazlist-admin at indexdata.dk [mailto:yazlist-admin at indexdata.dk]On
> Behalf Of Adam Dickmeiss
> Sent: Wednesday, October 10, 2001 1:58 PM
> To: Galium
> Cc: yazlist at indexdata.dk
> Subject: Re: [Yazlist] PQF AttributeType Question
> 
> 
> On Tue, Oct 09, 2001 at 01:45:16PM -0600, Galium wrote:
> > In a PQF @attr query what exactly is the AttributeType? I always assumed
> it
> > was if its a number, text, etc. Not so sure now that I seen a couple
> > examples.
> 
> Short answer: it's always a number. What examples made you think otherwise?
> 
> What follows @attr is the attribute type, the attribute value and an
> attribute
> set (optional). Format is
>    @attr [attributeset] type=value
> 
> Examples
>    @attr 1=4        (type is 1, value is 4)
>    @attr gils 1=2020  (attribute set is gils, type is 1, value is 2020).
> 
> See:
> 
> http://www.php.net/manual/en/function.yaz-search.php
> http://www.indexdata.dk/yaz/yaz-5.php#PQF
> 
> >
> > Insites appreciated.
> >
> > Ken Sanderson
> >
> > _______________________________________________
> > Yazlist mailing list
> > Yazlist at indexdata.dk
> > http://www.indexdata.dk/mailman/listinfo/yazlist
> 
> --
> Adam Dickmeiss  mailto:adam at indexdata.dk  http://www.indexdata.dk
> Index Data      T: +45 33410100           Mob.: 212 212 66
> _______________________________________________
> Yazlist mailing list
> Yazlist at indexdata.dk
> http://www.indexdata.dk/mailman/listinfo/yazlist
> 
> _______________________________________________
> Yazlist mailing list
> Yazlist at indexdata.dk
> http://www.indexdata.dk/mailman/listinfo/yazlist

-- 
Adam Dickmeiss  mailto:adam at indexdata.dk  http://www.indexdata.dk
Index Data      T: +45 33410100           Mob.: 212 212 66



More information about the Yazlist mailing list