Thanks for the valuable info, Robert! Regards, Nancy
Robert Lybarger wrote: > > > Thought I might submit an idea of last resort: while this is /far/ from > the > "optimal" way to there, I spent a little time unravelling the ODF file > layout by: > (a) creating a new Writer document > (b) typing in or creating just one thing (a table, a list, etc) into the > document and saving it > (c) unzipping the *.odt file and looking for the text I entered in the > content.xml (using a good xml editor) file to see how it was structured. > > When you get that far, save a blank/empty "content.xml" file to serve as a > starting point (regarding all the rest of the file largely as a bunch of > boilerplate) for your own transformations, then insert your own material > into it and zip it back up into an *.odt file. > > Now, regardless of however you create the content.xml (and possibly > style.xml) file(s), the one thing that gave me so much trouble was my > source > XML document schema (DITA content) was rather convoluted (lots of > block-level items nested inside each other to arbitrary levels) whereas > the > ODF file is fairly flat and doesn't permit such nesting. Unwrapping all > that > nonsense in an XSLT was extremely tricky. Note that an *.odt file also > keeps > style information in two places... in the head of content.xml (for > automatic > styles such as clicking toolbar "bold" button) and in the style.xml file > for > more rigorously defined stuff. > > Hope that helps any... > > > > -----Original Message----- > From: nancy_b [mailto:[EMAIL PROTECTED] > Sent: Monday, October 01, 2007 9:25 AM > To: [email protected] > Subject: Re: Generating neat RTF documents with XSLTPROC and FOP > > > > 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-tf > 4547155.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] >> >> >> > > -- > View this message in context: > http://www.nabble.com/Generating-neat-RTF-documents-with-XSLTPROC-and-FOP-tf > 4547155.html#a12980192 > 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] > > > -- View this message in context: http://www.nabble.com/Generating-neat-RTF-documents-with-XSLTPROC-and-FOP-tf4547155.html#a12994804 Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
