#!/usr/local/bin/perl

eval 'exec /usr/local/bin/perl  -S $0 ${1+"$@"}'
    if 0; # not running under some shell

use XML::PYX;

my $p = XML::PYX::Parser::ToCSF->new(Validating => 1);

if (@ARGV) { $p->parsefile($ARGV[0]); }
else { $p->parse(\*STDIN); }

