8 open($list, $ARGV[0]) or die "cannot open list";
14 my $xmlfile=`basename $xmlpath`;
17 open ($fh, "<$xmlpath") or die "cannot open file $xmlpath";
21 while (s/(\w+)=\"(.*?)\"//) {
22 if ($1 eq "text" or $1 eq "helptext")
24 $used{$2} .= "#: $xmlfile:$line\n";
33 print "$used{$_}msgid \"$_\"\nmsgstr \"\"\n\n"