org.foray.demo.embed
Class DemoXML2FO
java.lang.Object
org.foray.demo.embed.EmbedDemo
org.foray.demo.embed.DemoXML2FO
public class DemoXML2FO
- extends EmbedDemo
This class demonstrates the conversion of an XML file to an XSL-FO file
using JAXP (XSLT).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DemoXML2FO
public DemoXML2FO()
convertXML2FO
public void convertXML2FO(File xml,
File xslt,
File fo)
throws IOException,
TransformerException
- Demonstration converting XML to FO.
- Parameters:
xml
- The semantic XML input.xslt
- The XSLT stylesheet.fo
- The FO file output.
- Throws:
IOException
- For I/O errors.
TransformerException
- For errors during XSLT transformation.
main
public static void main(String[] args)
- Command-line interface for this class.
- Parameters:
args
- The command-line arguments. None are currently supported.
Copyright © 2017. All rights reserved.