Hi Nancy,
If you want to transform your XML documents into Open Document Format
you could write an XSLT stylesheet that is able to take your XML
documents and achieve the transformation. Depending on the complexity
of the layout you require, this would involve you spending quite a bit
of time learning the semantics of ODF (see
http://std.dkuug.dk/keld/iso26300-odf/is26300/OpenDocument-v1.0ed2-cs1.html).
If you are a Java programmer, a potentially easier approach might be to
programmatically DOM parse your input XML document and combine the
traversal of this with using some of the document building blocks
available in Odf4j which is part of the OpenOffice.org ODF Toolkit
Project (see http://odftoolkit.openoffice.org/ and
http://wiki.services.openoffice.org/wiki/Odf4j).
Good luck,
Adrian.
nancy_b wrote:
Thank you for the information, dear Jeremias!
In http://xmlgraphics.apache.org/fop/0.94/output.html#rtf it is recommended
to use the Open Document Format. How can I transform my XML documents into
this format?
Regards,
Nancy
Jeremias Maerki-2 wrote:
No, the look of the generated RTF documents are directly derived from
XSL-FO and it can only be changed by improving the Java source code.
Please note that it's difficult to map XSL-FO to RTF and the RTF handler
doesn't work well for more complex documents.
See also:
http://xmlgraphics.apache.org/fop/0.94/output.html#rtf
Jeremias Maerki
On 01.10.2007 11:32:44 nancy_b wrote:
Hello dear all! Is there any way to improve how the RTF documents look?
Is
the Look&Feel controlled somehow by the XSL stylesheets? Is it possible
to
improve the documents by substituting the default Word template with a
customized one?
Thank you in advance!
Nancy
--
View this message in context:
http://www.nabble.com/Generating-neat-RTF-documents-with-XSLTPROC-and-FOP-tf4547155.html#a12975915
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]