Mercurial > pub > buggler
view translate.pl @ 0:8cae44c166d3
initial xslt and sample xml
author | cin |
---|---|
date | Thu, 20 Aug 2015 20:54:19 +0300 |
parents | |
children | d1400de5832b |
line wrap: on
line source
#!/usr/bin/perl -w xalan( -IN => "bug-list2.xml", -XSL => "bug-list.xsl" ); sub xalan { my %params = @_; return system java => -cp => "/usr/share/java/xalan-j2-serializer.jar:/usr/share/java/xalan-j2.jar", "org.apache.xalan.xslt.Process", %params; } __END__ =pod =head1 NAME C<translate.pl> - translates bugzilla xml buglist to TaskJuggler format =head1 METHODS =head2 xalan(%args) =over =item * -IN Input file =item * -OUT Output file =item * -XSL XSLT file =back =cut