8
Here is a report program to list SOURces. The REFN and TITL
9
values are shown. Other tags can be added by duplicating
10
the lines that containing "myrefn" or "REFN" and replacing them
11
with the tag you want.
13
To process tags that have CONTinuation lines, or tags with no
14
values you need something more complicated.
16
"P. McBride" <pbmcbride@RCN.COM>
24
fornodes(root(snode), anode) {
25
if(eqstr(tag(anode),"TITL")) { set(mytitle, save(value(anode))) }
26
elsif(eqstr(tag(anode),"REFN")) {
27
set(myrefn, save(value(anode)))
30
myrefn "\t" key(snode) "\t" mytitle nl()