comparison translate.pl @ 0:8cae44c166d3

initial xslt and sample xml
author cin
date Thu, 20 Aug 2015 20:54:19 +0300
parents
children d1400de5832b
comparison
equal deleted inserted replaced
-1:000000000000 0:8cae44c166d3
1 #!/usr/bin/perl -w
2
3 xalan( -IN => "bug-list2.xml", -XSL => "bug-list.xsl" );
4
5 sub xalan {
6 my %params = @_;
7
8 return system java => -cp => "/usr/share/java/xalan-j2-serializer.jar:/usr/share/java/xalan-j2.jar", "org.apache.xalan.xslt.Process", %params;
9 }
10
11 __END__
12
13 =pod
14
15 =head1 NAME
16
17 C<translate.pl> - translates bugzilla xml buglist to TaskJuggler format
18
19 =head1 METHODS
20
21 =head2 xalan(%args)
22
23 =over
24
25 =item * -IN
26
27 Input file
28
29 =item * -OUT
30
31 Output file
32
33 =item * -XSL
34
35 XSLT file
36
37 =back
38
39 =cut