How do I configure Xeena to enable exportation of documents into different formats?
Xeena can be configured to export XML documents into non-XML files by invoking Java code (that you supply) to implement the transformation. To do this, follow these steps: • Write a Java class that implements the XMLExporter interface. Writing this class consists of three main steps: • Implement the getIcon, getName, and getToolTip methods to return descriptions of your exporter, which will be used by the Xeena environment. • Implement the init methods to initialize your exporter (using information from the XMLEditorContext and/or the data string you may have specified in the configuration file. • Implement the exportDocument method to do the actual work of letting the user select an export target and export the data from the document. For a detailed sample, please examine the BMLExporter.java sample supplied in the src directory. • Hook the class you wrote into the Xeena profile for your DTD as follows: When configuring Xeena for your DTD, insert a new exporter element (as a child of