Mercurial > pub > buggler
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/translate.pl Thu Aug 20 20:54:19 2015 +0300 @@ -0,0 +1,39 @@ +#!/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 \ No newline at end of file