Re: How do I do this in dsssl/jade?

Subject: Re: How do I do this in dsssl/jade?
From: "Glenn R. Kronschnabl" <grk@xxxxxxxxxxxxxxxx>
Date: Mon, 14 Dec 1998 11:08:46 -0600
In message <81435F08832BD111844A006097BA97481A425E@xxxxxxxxxxxxxxxxxxxxx> 
you w
>I've done similar things.  Basically in your rule for (element VCARD
>...) you test whether the (first character of the (data of the
>matching-child FN)) is the same as the first letter of the data of the
>FN of the previous vCard(ipreced).  If they differ, then you output an
>appropriate header.

But I only want to do it once per first occurrence of the first character, 
aka a phone book.  I want to only output the 'A' header for all the a's, 
etc.  I've tried what you suggested but I then get the header everytime.  
Somehow I need to keep a list around that tells me whether I've already 
output a header... that's what I don't know how to do in dsssl.

Glenn R. Kronschnabl
Applied Research Laboratories        | grk@xxxxxxxxxxxxxxxx (PGP/MIME ok)
The University of Texas at Austin    |
PO Box 8029, Austin, TX 78713-8029   | (Ph) 512.835.3642 (FAX) 512.835.3808
10,000 Burnet Road, Austin, TX 78758 | ... but an Aggie at heart!

 DSSSList info and archive:

Current Thread