X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=tab%2Fnwi.flt;h=166157eedfa119c718c51a5114fcf3d08b008e24;hp=fdb9fd23f1c58d4d2c1c0e23f2f64bc0a0812f17;hb=6c5467571389a21c91196ce1608945633c1cf92a;hpb=0f7364db455d942ff565299e56309be95b88c1b4 diff --git a/tab/nwi.flt b/tab/nwi.flt index fdb9fd2..166157e 100644 --- a/tab/nwi.flt +++ b/tab/nwi.flt @@ -1,10 +1,9 @@ # # Input-filter for the Nordic Web Index record syntax. Output is 'gils-like'. # -# $Id: nwi.flt,v 1.2 1996-04-24 13:34:19 quinn Exp $ # -BEGIN { begin record gils } +// { begin record gils } # Ignore meta tags @@ -30,12 +29,15 @@ BEGIN { begin record gils } # Don't want to have inside of LocalSubjectIndex # Since we end localsubjectindex, we consume the end-tag for that as well. -/[ \n]*/ BODY /<\/ip>[ \n]*<\/lsi>/ { - end element; - data -element sampleText $1 - } +#/[ \n]*/ BODY /<\/ip>[ \n]*<\/lsi>/ { +# end element; +# data -element sampleText $1 +# } -/[ \n]*/ BODY /<\/ip>/ { data -element sampleText $1 } +/[ \n]*/ BODY /<\/ip>/ { + end element; + data -element sampleText $1 + } // { begin element crossReference } /
  • */ BODY /$/ { data -element linkage $1 }