4 my @files = glob("$ARGV/*.rnc");
6 open( TOKEN
, ">tokens.txt" ) || die "can't write token file";
10 print( "parsing $_\n" );
11 open ( XSD
, $_ ) || die "can't open token file: $!";
15 if( /element (\S*:)?(\S*)/ )
20 elsif( /attribute (\S*:)?(\S*)/ )
44 foreach( sort(keys(%tokens)) )