annotate translate.pl @ 0:8cae44c166d3

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