root/tags/lgt293/xml/pdf.bat

Revision 59, 373 bytes (checked in by pmoura, 7 years ago)

New Unix and DOS scripts for converting XML files to PDF.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1@ECHO off
2
3SET FOP_PATH=c:\Fop-0.20.2
4
5SET XSLT="lgtpdfa4.xsl"
6
7ECHO This script converts all .xml files in the current directory to .pdf
8ECHO files applying the XSLT transformation defined in the $XSLT file
9ECHO using the Apache FOP processor
10
11FOR %%f IN (*.xml) DO %FOP_PATH%\fop.bat -xsl %XSLT% -xml %%f -pdf %%f.pdf
12
13REN *.xml.pdf *.pdf
14
15ECHO conversion done
16
17@ECHO on
Note: See TracBrowser for help on using the browser.