Removed even more QT3 stuff. Drag & Drop not 100% functional at the moment
3 # Script to convert vym files to arbitrary formats
4 # Using xml stylesheets
6 # written by Uwe Drechsel <vym@insilmaril.de>
10 my $PARSER="xsltproc";
13 my $XSL="vym2html.xsl";
18 "o=s" => \$opt_outdir,
20 "h!" => \$opt_usage ) || usage ();
28 exportvym written by Uwe Drechsel - Version $version
30 usage: $0 [-h] VYMFILE
38 if ($opt_xst) { $XST=$opt_XST; }
39 if ($opt_outdir) { $OUTDIR="$opt_outdir/"; }
42 die "not enough parameters given";
49 # Get inputdir from path
50 $MAPNAME=~/(.*\/)(.*)/;
54 if ($MAPNAME=~/(.*)(\.xml)/) { $MAPNAME=$1;}
61 ########################################################
63 ########################################################
64 my $command="$PARSER -o $OUTDIR$MAPNAME.html $XSL $INPUTDIR$MAPNAME.xml";