[Zebralist] howto EST file

Weber Peter Peter.Weber at rero.ch
Tue Feb 19 09:26:58 CET 2008


Hallo Adam
Thank you for your reply. I got a email from Marc Cromme already,
he suggested the same thing. So I switched to dom.xml.
Works quite well. Only the xml and xsl syntax is quite
different the first time. And some times thinks working with one name  
but not
with another. As always the documentation could be polish a little bit  
more.
Anyway thanks to your help!

Our server is searchable at following address:

	zebulon.rero.ch:3950/Default

Have a nice day
Peter


On Feb 19, 2008, at 9:04, Adam Dickmeiss wrote:

> Weber Peter wrote:
>> Hallo
>> Somebody can tell me howto write a est file like usmarc-b.est:
>>
>> simpleelement (3,'001)
>> simpleelement (3,'035)
>> simpleelement (3,'245)
>> simpleelement (3,'100)
>> simpleelement (3,'710)
>> simpleelement (3,'700)
>
> The .est specs only allow selection based on tag names (XML element  
> node
> names) - NOT attribute names. So .est is useful for for grs.marc  
> because
> this does not make use of attributes (GRS-1 does not support  
> attribute).
> However grs.marxml (convert ISO2709 to MARCXML) and grs.xml (MARC XML)
> makes use of attributes and so .est does not support selecting
> appropriate values (say field 245).
>
> We don't have plans to extend the .est system to facilitate  
> selecting of
> attributes. The DOM filter allows this as well as tons of other new
> stuff. So consider moving to that.
>
> Sorry.
>
> / Adam
>
>> for my config and att set?
>> If I use the the usmarc-b.est with yaz-client and elemements B I got
>> only folowing:
>>
>> Z> elements F
>> Z> show
>> Sent presentRequest (2+1).
>> Records: 1
>> [Default]Record type: USmarc
>> 00905nam a2200301 a 4500
>> 001 vtls000004838
>> 003 RERO
>> 005 20080129111700.0
>> 008 960525s1970    xxk|||||| ||||00|| |eng d
>> 020    $a 041607510X (Hardbound edition)
>> 020    $a 0416703100 (Paperback edition)
>> 035    $a 0004969
>> 039  7 $b 7376
>> 039  9 $a 200801291117 $b 7376 $c 200306101052 $d 0166 $y
>> 1999022709560000 $z load
>> 040    $a RERO
>> 072  7 $a s1lc $2 rero
>> 072  7 $a s2an $2 rero
>> 100 1  $a Frye, Northrop
>> 245 14 $a The Stubborn structure : $b essays on criticism and  
>> society /
>> $c Northrop Frye
>> 260    $a London : $b Methuen, $c 1970
>> 300    $a XII, 316 p. ; $c 22 cm
>> 650  7 $a critique littéraire $v [études diverses] $2 rero
>> 650  7 $a littérature anglaise $y 16e s. / 20e s. $v [études  
>> diverses]
>> $2 rero
>> 956    $a frbcuc
>> 957    $a geulan
>> 962    $a neubfl
>> 972    $a labcud
>> 999    $a VIRTUA50
>>
>> Z> elements B
>> Z> show
>> Sent presentRequest (3+1).
>> Records: 1
>> [Default]Record type: USmarc
>> 00026nam a2200025 a 4504
>>
>> nextResultSetPosition = 4
>> Elapsed: 0.000000
>>
>> Thanks for any help
>> Peter
>>
>>
>>
>> --bibrero.att------------------------------
>> name marcrero
>> attset bibrero.att
>>
>> esetname B usmarc-b.est
>> esetname F @
>>
>> marc usmarc.mar
>>
>> xpath disable
>>
>> encoding utf-8
>>
>> all ANYWHERE
>>
>> # leader
>> elm mc-ldr[6] Record-type !
>> elm mc-ldr[7] Bib-level !
>>
>>
>> # ------------------------------------------
>> #  NOT WORKING WITH MARCXNML !!!!!!
>> # ------------------------------------------
>> # other fixed filed 008
>> ##elm mc-008[0-5] Date/time-added-to-db !:0,!:s # --> 039 $y
>> #xelm /*/controlfield[@tag="008"]
>> Start-date:w:range(data,7,4),Start-date:s:range(data,7,4)
>> #xelm /*/controlfield[@tag="008"]
>> End-date:w:range(data,11,4),End-date:s:range(data,11,4)
>> #xelm /*/controlfield[@tag="008"] Place-publication:w:range(data, 
>> 15,3)
>> #xelm /*/controlfield[@tag="008"] Code-language:w:range(data,35,3)
>>
>> xelm /*/controlfield[@tag="008"]
>> Start-date:w:range(data,7,4),Start-date:s:range(data,7,4),End- 
>> date:w:range(data,11,4),End-date:s:range(data,11,4),Place- 
>> publication:w:range(date,15,3),Code-language:w:range(data,35,3),
>>
>>
>> # other fixed fileds
>> melm 001 Identifier-standard
>>
>> # titre attr=4 + Title-series attr=5
>>
>> melm 130$a Title
>> melm 130$f Title
>> melm 130$g Title
>> melm 130$h Title
>> melm 130$n Title
>> melm 130$p Title
>> melm 210$a Title
>> melm 210$b Title
>> melm 245$a Title,Title:s
>> melm 245$b Title,Title:s
>> melm 245$c Title,Title:s
>> melm 245$f Title,Title:s
>> melm 245$h Title,Title:s
>> melm 245$n Title,Title:s
>> melm 245$p Title,Title:s
>> melm 246$a Title
>> melm 246$h Title
>> melm 246$n Title
>> melm 246$p Title
>> melm 490$a Title,Title-series
>> melm 490$v Title,Title-series
>> melm 505$a Title,Note
>> melm 505$g Title,Note
>> melm 505$t Title,Note
>> melm 700$f Title
>> melm 700$h Title
>> melm 700$k Title
>> melm 700$l Title
>> melm 700$m Title
>> melm 700$n Title
>> melm 700$o Title
>> melm 700$p Title
>> melm 700$r Title
>> melm 700$t Title
>> melm 710$h Title
>> melm 710$k Title
>> melm 710$l Title
>> melm 710$n Title
>> melm 710$p Title
>> melm 710$t Title
>> melm 730$a Title
>> melm 730$d Title
>> melm 730$f Title
>> melm 730$g Title
>> melm 730$h Title
>> melm 730$k Title
>> melm 730$l Title
>> melm 730$m Title
>> melm 730$n Title
>> melm 730$o Title
>> melm 730$p Title
>> melm 730$r Title
>> melm 780$h Title
>> melm 780$t Title
>> melm 785$h Title
>> melm 785$t Title
>> melm 800$h Title
>> melm 800$n Title
>> melm 800$p Title
>> melm 800$t Title
>> melm 800$v Title
>> melm 830$a Title,Title-series
>> melm 830$f Title,Title-series
>> melm 830$g Title,Title-series
>> melm 830$h Title,Title-series
>> melm 830$k Title,Title-series
>> melm 830$l Title,Title-series
>> melm 830$m Title,Title-series
>> melm 830$n Title,Title-series
>> melm 830$p Title,Title-series
>> melm 830$v Title,Title-series
>>
>> # ISBN attr=7
>> melm 020$a ISBN
>>
>> # ISSN attr=8
>> melm 022$a ISSN
>>
>> # Local-classification attr=20
>> melm 980$a Local-classification
>> melm 980$b Local-classification
>> melm 980$d Local-classification
>> melm 980$e Local-classification
>> melm 980$2 Local-classification
>>
>> # Subject-heading attr=21
>> melm 600$9 Subject-heading
>> melm 600$a Subject-heading
>> melm 600$b Subject-heading
>> melm 600$c Subject-heading
>> melm 600$d Subject-heading
>> melm 600$e Subject-heading
>> melm 600$n Subject-heading
>> melm 600$p Subject-heading
>> melm 600$t Subject-heading
>> melm 600$v Subject-heading
>> melm 600$x Subject-heading
>> melm 600$y Subject-heading
>> melm 600$z Subject-heading
>> melm 600$5 Subject-heading
>> melm 610$9 Subject-heading
>> melm 610$a Subject-heading
>> melm 610$b Subject-heading
>> melm 610$c Subject-heading
>> melm 610$d Subject-heading
>> melm 610$e Subject-heading
>> melm 610$n Subject-heading
>> melm 610$p Subject-heading
>> melm 610$t Subject-heading
>> melm 610$v Subject-heading
>> melm 610$x Subject-heading
>> melm 610$y Subject-heading
>> melm 610$z Subject-heading
>> melm 610$5 Subject-heading
>> melm 611$9 Subject-heading
>> melm 611$a Subject-heading
>> melm 611$b Subject-heading
>> melm 611$c Subject-heading
>> melm 611$d Subject-heading
>> melm 611$e Subject-heading
>> melm 611$n Subject-heading
>> melm 611$p Subject-heading
>> melm 611$t Subject-heading
>> melm 611$v Subject-heading
>> melm 611$x Subject-heading
>> melm 611$y Subject-heading
>> melm 611$z Subject-heading
>> melm 611$5 Subject-heading
>> melm 630$9 Subject-heading
>> melm 630$a Subject-heading
>> melm 630$b Subject-heading
>> melm 630$c Subject-heading
>> melm 630$d Subject-heading
>> melm 630$e Subject-heading
>> melm 630$n Subject-heading
>> melm 630$p Subject-heading
>> melm 630$t Subject-heading
>> melm 630$v Subject-heading
>> melm 630$x Subject-heading
>> melm 630$y Subject-heading
>> melm 630$z Subject-heading
>> melm 630$5 Subject-heading
>> melm 650$9 Subject-heading
>> melm 650$a Subject-heading
>> melm 650$b Subject-heading
>> melm 650$c Subject-heading
>> melm 650$d Subject-heading
>> melm 650$e Subject-heading
>> melm 650$n Subject-heading
>> melm 650$p Subject-heading
>> melm 650$t Subject-heading
>> melm 650$v Subject-heading
>> melm 650$x Subject-heading
>> melm 650$y Subject-heading
>> melm 650$z Subject-heading
>> melm 650$5 Subject-heading
>> melm 651$9 Subject-heading
>> melm 651$a Subject-heading
>> melm 651$b Subject-heading
>> melm 651$c Subject-heading
>> melm 651$d Subject-heading
>> melm 651$e Subject-heading
>> melm 651$n Subject-heading
>> melm 651$p Subject-heading
>> melm 651$t Subject-heading
>> melm 651$v Subject-heading
>> melm 651$x Subject-heading
>> melm 651$y Subject-heading
>> melm 651$z Subject-heading
>> melm 651$5 Subject-heading
>>
>> # Abstract attr=62
>> melm 520$a Note,Abstract
>>
>> # Note attr=63
>> melm 500$a Note
>> melm 502$a Note
>> melm 504$a Note
>> melm 505$a Note
>> melm 505$g Note
>> melm 505$d Note
>> melm 508$a Note
>> melm 510$a Note
>> melm 511$a Note
>> melm 521$a Note
>> melm 530$a Note
>> melm 533$a Note
>> melm 533$b Note
>> melm 533$c Note
>> melm 533$d Note
>> melm 533$e Note
>> melm 533$m Note
>> melm 533$n Note
>> melm 534$c Note
>> melm 534$p Note
>> melm 545$a Note
>> melm 555$a Note
>> melm 555$d Note
>> melm 580$a Note
>> melm 590$a Note
>> melm 591$a Note
>> melm 591$b Note
>>
>> # Author attr=1003
>> # Author-name-personal attr=1004
>> # Author-name-corporate attr =1005
>> melm 100$a Author,Author:s,Author-name-personal
>> melm 100$b Author,Author:s,Author-name-personal
>> melm 100$c Author,Author:s,Author-name-personal
>> melm 100$d Author,Author:s,Author-name-personal
>> melm 100$q Author,Author:s,Author-name-personal
>> melm 700$a Author,Author-name-personal
>> melm 700$b Author,Author-name-personal
>> melm 700$c Author,Author-name-personal
>> melm 700$d Author,Author-name-personal
>> melm 700$e Author,Author-name-personal
>> melm 700$q Author,Author-name-personal
>> melm 710$a Author,Author-name-personal,Author-name-corporate
>> melm 710$b Author,Author-name-personal,Author-name-corporate
>> melm 710$c Author,Author-name-personal,Author-name-corporate
>> melm 710$d Author,Author-name-personal,Author-name-corporate
>> melm 710$n Author,Author-name-personal,Author-name-corporate
>> melm 710$4 Author,Author-name-personal,Author-name-corporate
>> melm 711$a Author,Author-name-personal,Author-name-corporate
>> melm 711$c Author,Author-name-personal,Author-name-corporate
>> melm 711$d Author,Author-name-personal,Author-name-corporate
>> melm 711$e Author,Author-name-personal,Author-name-corporate
>> melm 711$n Author,Author-name-personal,Author-name-corporate
>> melm 800$a Author,Author-name-personal
>> melm 800$b Author,Author-name-personal
>> melm 800$c Author,Author-name-personal
>> melm 800$d Author,Author-name-personal
>> melm 800$q Author,Author-name-personal
>>
>> # Genarl (ANY) attr=1016
>> melm 019$a General,Any
>> melm 034$a General,Any
>> melm 034$b General,Any
>> melm 034$d General,Any
>> melm 034$e General,Any
>> melm 034$f General,Any
>> melm 034$g General,Any
>> melm 072$a General,Any
>> melm 250$a General,Any
>> melm 250$b General,Any
>> melm 255$a General,Any
>> melm 255$b General,Any
>> melm 255$c General,Any
>> melm 255$d General,Any
>> melm 255$e General,Any
>> melm 260$c General,Any
>> melm 260$g General,Any
>> melm 300$a General,Any
>> melm 300$e General,Any
>> melm 310$a General,Any
>> melm 321$a General,Any
>> melm 541$a General,Any
>> melm 541$c General,Any
>> melm 541$f General,Any
>> melm 770$a General,Any
>> melm 770$h General,Any
>> melm 770$t General,Any
>> melm 772$a General,Any
>> melm 772$h General,Any
>> melm 772$t General,Any
>> melm 773$a General,Any
>> melm 773$g General,Any
>> melm 773$h General,Any
>> melm 773$t General,Any
>> melm 775$a General,Any
>> melm 775$h General,Any
>> melm 775$t General,Any
>> melm 776$a General,Any
>> melm 776$g General,Any
>> melm 776$h General,Any
>> melm 776$t General,Any
>> melm 777$a General,Any
>> melm 777$h General,Any
>> melm 777$t General,Any
>> melm 780$a General,Any
>> melm 785$a General,Any
>> melm 787$a General,Any
>> melm 787$g General,Any
>> melm 787$h General,Any
>> melm 787$t General,Any
>> melm 919 General,Any
>>
>> melm 880 General,Any
>>
>> #melm 999 General,Any
>>
>> # Publisher attr=1018
>> melm 260$b Publisher
>> melm 260$f Publisher
>>
>> # User_defind_04_RERO-number attr=6003
>> melm 035 User_defind_04_RERO-number
>>
>>
>> ----------------------------------------------
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Zebralist mailing list
>> Zebralist at lists.indexdata.dk
>> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/zebralist
>
>
> _______________________________________________
> Zebralist mailing list
> Zebralist at lists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/zebralist

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.indexdata.dk/pipermail/zebralist/attachments/20080219/3303d5a9/attachment-0001.htm 


More information about the Zebralist mailing list