Re: blocks flowing from left to right?
Jay Bryant wrote: Hi, Lou, I see now. I think you've hit your best choice with the table-per-row notion. It's not ideal, but it has the virtue of getting the job done. I agree. The only other alternative solution offered by XSL-FO is fo:inline-container. However, this isn't implemented by FOP so you really need to use Tables to solve this requirement. snip/ Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tooltips
On Aug 14, 2008, at 20:59, Jeremias Maerki wrote: There's nothing in XSL-FO that would allow to specify this. The first step would be to identify if this is possible in PDF in the first place. FWIW: the references I did find in that direction all point to 'hacks' that create form fields or buttons for the related portions of text (or images), and then use the 'Short Description' attribute to contain the text that's supposed to appear in the tooltip. Cheers Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Application Server FOP Problem: Mismatch: page-sequence vs. root
Hi! I am running FOP and convert an XML+XSL-FOP-PDF. Locally everything is working fine but on the app server i get the following error message: org.xml.sax.SAXException: Mismatch: page-sequence (http://www.w3.org/1999/XSL/Format) vs. root (http://www.w3.org/1999/XSL/Format) Environment: App-Server: Bea Weblogic 8.1 SP5 Java: 1.4.2_08 (using the same JDK for AppServer and for the local tests) FOP: 0.95 (most recent version) OS: Windows XP SP3 Searching in the web didn't return anything helpful, although this problem has already occured once or twice. My guess is that there may be a library or classpath conflict but replacing some JDK libs (XML/Parser related) didn't make it better... I don't think that this is a problem with the XML or the stylsheet since locally it is working. Maybe anyone experienced the same problems or has some idea what could be the cause - any help appreciated! Thanks, ToM - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Application Server FOP Problem: Mismatch: page-sequence vs. root
I debugged through the code but the error occurs inside the transformer (which is part of the JDK 1.4.2 standard). Here's an more complete stacktrace: javax.xml.transform.TransformerException: org.xml.sax.SAXException: Mismatch: page-sequence (http://www.w3.org/1999/XSL/Format) vs. root (http://www.w 3.org/1999/XSL/Format) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:725) at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:425) at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:216) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339) at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2160) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1213) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:668) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1129) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1107) These errors are usually follow-up errors after the real problem (at least in my experience). Please take a look if you can see any error message before that exception. It could also be some bad exception handling somewhere in FOP. I've had this thing a number of times in the past but I haven't had the chance to really look into avoiding unhelpful exceptions like that. Maybe that helps. On 15.08.2008 13:03:46 Tobias van Treeck wrote: Hi! I am running FOP and convert an XML+XSL-FOP-PDF. Locally everything is working fine but on the app server i get the following error message: org.xml.sax.SAXException: Mismatch: page-sequence (http://www.w3.org/1999/XSL/Format) vs. root (http://www.w3.org/1999/XSL/Format) Environment: App-Server: Bea Weblogic 8.1 SP5 Java: 1.4.2_08 (using the same JDK for AppServer and for the local tests) FOP: 0.95 (most recent version) OS: Windows XP SP3 Searching in the web didn't return anything helpful, although this problem has already occured once or twice. My guess is that there may be a library or classpath conflict but replacing some JDK libs (XML/Parser related) didn't make it better... I don't think that this is a problem with the XML or the stylsheet since locally it is working. Maybe anyone experienced the same problems or has some idea what could be the cause - any help appreciated! Thanks, ToM Jeremias Maerki - 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]
Re: Application Server FOP Problem: Mismatch: page-sequence vs. root
I'm afraid you've only caught the TransformerException thrown inside Xalan due to the SAXException. You've missed the nested SAXException. But it wouldn't help anyway. As I said, this exception is only a follow-up thing. There must be something else going wrong before that mismatch is encountered. On 15.08.2008 15:11:24 Tobias van Treeck wrote: I debugged through the code but the error occurs inside the transformer (which is part of the JDK 1.4.2 standard). Here's an more complete stacktrace: javax.xml.transform.TransformerException: org.xml.sax.SAXException: Mismatch: page-sequence (http://www.w3.org/1999/XSL/Format) vs. root (http://www.w 3.org/1999/XSL/Format) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:725) at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:425) at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:216) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339) at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2160) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1213) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:668) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1129) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1107) These errors are usually follow-up errors after the real problem (at least in my experience). Please take a look if you can see any error message before that exception. It could also be some bad exception handling somewhere in FOP. I've had this thing a number of times in the past but I haven't had the chance to really look into avoiding unhelpful exceptions like that. Maybe that helps. On 15.08.2008 13:03:46 Tobias van Treeck wrote: Hi! I am running FOP and convert an XML+XSL-FOP-PDF. Locally everything is working fine but on the app server i get the following error message: org.xml.sax.SAXException: Mismatch: page-sequence (http://www.w3.org/1999/XSL/Format) vs. root (http://www.w3.org/1999/XSL/Format) Environment: App-Server: Bea Weblogic 8.1 SP5 Java: 1.4.2_08 (using the same JDK for AppServer and for the local tests) FOP: 0.95 (most recent version) OS: Windows XP SP3 Searching in the web didn't return anything helpful, although this problem has already occured once or twice. My guess is that there may be a library or classpath conflict but replacing some JDK libs (XML/Parser related) didn't make it better... I don't think that this is a problem with the XML or the stylsheet since locally it is working. Maybe anyone experienced the same problems or has some idea what could be the cause - any help appreciated! Thanks, ToM Jeremias Maerki Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
OutOfMemory Errors
Hi. I am getting outofmemory errors while using FOP 0.95. I have ready many of the posts her regarding this issue and it always seems that other users receive this error message when generating a PDF with several hundred pages. Generally I am creating PDFs with single pages and therefore using only one page sequence. One PDF has a maximum of 5 pages. I've tried increasing the memory for the JVM that I am using with out any success. Are there any other things that can be done to minimize/reclaim memory being used? My environment: Windows XP BEA 8.1 2GB memory Thanks John -- View this message in context: http://www.nabble.com/OutOfMemory-Errors-tp19000708p19000708.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: OutOfMemory Errors
With a single page? Are you throwing huge images at FOP? What does the FO look like? On 15.08.2008 17:32:23 John T wrote: Hi. I am getting outofmemory errors while using FOP 0.95. I have ready many of the posts her regarding this issue and it always seems that other users receive this error message when generating a PDF with several hundred pages. Generally I am creating PDFs with single pages and therefore using only one page sequence. One PDF has a maximum of 5 pages. I've tried increasing the memory for the JVM that I am using with out any success. Are there any other things that can be done to minimize/reclaim memory being used? My environment: Windows XP BEA 8.1 2GB memory Thanks John -- View this message in context: http://www.nabble.com/OutOfMemory-Errors-tp19000708p19000708.html Sent from the FOP - Users mailing list archive at Nabble.com. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: OutOfMemory Errors
The images are a 40KB max. I'll send the FO via email. John Jeremias Maerki-2 wrote: With a single page? Are you throwing huge images at FOP? What does the FO look like? On 15.08.2008 17:32:23 John T wrote: Hi. I am getting outofmemory errors while using FOP 0.95. I have ready many of the posts her regarding this issue and it always seems that other users receive this error message when generating a PDF with several hundred pages. Generally I am creating PDFs with single pages and therefore using only one page sequence. One PDF has a maximum of 5 pages. I've tried increasing the memory for the JVM that I am using with out any success. Are there any other things that can be done to minimize/reclaim memory being used? My environment: Windows XP BEA 8.1 2GB memory Thanks John -- View this message in context: http://www.nabble.com/OutOfMemory-Errors-tp19000708p19000708.html Sent from the FOP - Users mailing list archive at Nabble.com. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/OutOfMemory-Errors-tp19000708p19001169.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: OutOfMemory Errors
Hmm, this is really nothing that FOP should choke on. Is this happening when you run it from the command-line? Or only if you're inside BEA? If you do a heap dump for me (-XX:+HeapDumpOnOutOfMemoryError, provided this happens on the command-line) and make it available for me to download somewhere, I'll gladly look into it. But if it only happens in the app server it's probably not FOP that's eating so much memory. Good luck! On 15.08.2008 17:59:42 John T wrote: The images are a 40KB max. I'll send the FO via email. John Jeremias Maerki-2 wrote: With a single page? Are you throwing huge images at FOP? What does the FO look like? On 15.08.2008 17:32:23 John T wrote: Hi. I am getting outofmemory errors while using FOP 0.95. I have ready many of the posts her regarding this issue and it always seems that other users receive this error message when generating a PDF with several hundred pages. Generally I am creating PDFs with single pages and therefore using only one page sequence. One PDF has a maximum of 5 pages. I've tried increasing the memory for the JVM that I am using with out any success. Are there any other things that can be done to minimize/reclaim memory being used? My environment: Windows XP BEA 8.1 2GB memory Thanks John -- View this message in context: http://www.nabble.com/OutOfMemory-Errors-tp19000708p19000708.html Sent from the FOP - Users mailing list archive at Nabble.com. Jeremias Maerki Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: OutOfMemory Errors
I've only run this in a servlet not on the command line. Thanks. Jeremias Maerki-2 wrote: Hmm, this is really nothing that FOP should choke on. Is this happening when you run it from the command-line? Or only if you're inside BEA? If you do a heap dump for me (-XX:+HeapDumpOnOutOfMemoryError, provided this happens on the command-line) and make it available for me to download somewhere, I'll gladly look into it. But if it only happens in the app server it's probably not FOP that's eating so much memory. Good luck! On 15.08.2008 17:59:42 John T wrote: The images are a 40KB max. I'll send the FO via email. John Jeremias Maerki-2 wrote: With a single page? Are you throwing huge images at FOP? What does the FO look like? On 15.08.2008 17:32:23 John T wrote: Hi. I am getting outofmemory errors while using FOP 0.95. I have ready many of the posts her regarding this issue and it always seems that other users receive this error message when generating a PDF with several hundred pages. Generally I am creating PDFs with single pages and therefore using only one page sequence. One PDF has a maximum of 5 pages. I've tried increasing the memory for the JVM that I am using with out any success. Are there any other things that can be done to minimize/reclaim memory being used? My environment: Windows XP BEA 8.1 2GB memory Thanks John -- View this message in context: http://www.nabble.com/OutOfMemory-Errors-tp19000708p19000708.html Sent from the FOP - Users mailing list archive at Nabble.com. Jeremias Maerki Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/OutOfMemory-Errors-tp19000708p19002520.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Issue after install of 0.95
After I installed the fop-0.95 the following Info and Warnings began to appear. Any ideas on what I would have to do to correct it? Error #1: Aug 15, 2008 2:28:01 PM org.apache.fop.apps.FopFactoryConfigurator configure INFO: Default page-height set to: 11in Error #2: Aug 15, 2008 2:28:01 PM org.apache.fop.apps.FopFactoryConfigurator configure INFO: Default page-width set to: 8.26in For errors 1 and 2, here is my setup: fo:simple-page-master master-name=multi page-height=11in page-width=8.26in margin-top=.5in margin-bottom=1in margin-left=.5in margin-right=.5in Error #3: file:///CY/JLS/Java1.4/fop-0.95/./xml/xslt/foliomulti.xsl; Line #11; Column #63; Cannot add attribute text-align after child nodes or before an element is produced. Attribute will be ignored. For error #3, the line it is referring to is pointing to my fox extension. Here it is: xsl:stylesheet version=1.1 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:fo=http://www.w3.org/1999/XSL/Format; exclude-result-prefixes=fo xmlns:fox=http://xmlgraphics.apache.org/fop/extensions; Jeff
RE: Issue after install of 0.95
The first two messages are strictly informational and tell you the values of page-height and page-width you will get if you should specify auto in your FO. You can safely ignore them. (They were present in 0.94 as well.) Eric Amick Legislative Computer Systems Office of the Clerk From: Steffanina, Jeff [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2008 14:39 To: fop-users@xmlgraphics.apache.org Subject: Issue after install of 0.95 After I installed the fop-0.95 the following Info and Warnings began to appear. Any ideas on what I would have to do to correct it? Error #1: Aug 15, 2008 2:28:01 PM org.apache.fop.apps.FopFactoryConfigurator configure INFO: Default page-height set to: 11in Error #2: Aug 15, 2008 2:28:01 PM org.apache.fop.apps.FopFactoryConfigurator configure INFO: Default page-width set to: 8.26in For errors 1 and 2, here is my setup: fo:simple-page-master master-name=multi page-height=11in page-width=8.26in margin-top=.5in margin-bottom=1in margin-left=.5in margin-right=.5in Error #3: file:///CY/JLS/Java1.4/fop-0.95/./xml/xslt/foliomulti.xsl file:///CY/JLS/Java1.4/fop-0.95/./xml/xslt/foliomulti.xsl ; Line #11; Column #63; Cannot add attribute text-align after child nodes or before an element is produced. Attribute will be ignored. For error #3, the line it is referring to is pointing to my fox extension. Here it is: xsl:stylesheet version=1.1 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:fo=http://www.w3.org/1999/XSL/Format; exclude-result-prefixes=fo xmlns:fox=http://xmlgraphics.apache.org/fop/extensions; Jeff
config file embedding issues
Friends, I can't figure out what is wrong. I am trying to generate a PDF/A-1b using FOP 0.94. No matter how I write my userconfig file, I get an error message that Helvetica must be embedded. I include my useconfig below. I have added CODE 2000 into the fonts for testing purposes only. -Mike ?xml version=1.0? fop version=1.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:noNamespaceSchemaLocation=http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/foschema/fop-configuration.xsd?view=co; !-- Strict user configuration -- strict-configurationtrue/strict-configuration !-- Strict FO validation -- strict-validationtrue/strict-validation !-- Base URL for resolving relative URLs base.//base-- !-- Font Base URL for resolving relative font URLs font-base.//font-base -- !-- Base URL for resolving relative URLs -- base./base !-- Source resolution in dpi (dots/pixels per inch) for determining the size of pixels in SVG and bitmap images, default: 72dpi -- source-resolution72/source-resolution !-- Target resolution in dpi (dots/pixels per inch) for specifying the target resolution for generated bitmaps, default: 72dpi -- target-resolution72/target-resolution !-- Default page-height and page-width, in case value is specified as auto -- default-page-settings height=11in width=8.26in/ !-- Information for specific renderers -- !-- Uses renderer mime type for renderers -- renderers renderer mime=application/pdf !-- provides compression using zlib flate (default is on) -- !-- encodes binary data into printable ascii characters (default off) This provides about a 4:5 expansion of data size -- !-- valueascii-85/value -- !-- encodes binary data with hex representation (default off) This filter is not recommended as it doubles the data size -- !-- valueascii-hex/value -- !-- filterList valueflate/value /filterList -- fonts !-- Helvetica: -- font metrics-url=file:///C:/fopFonts/metrics/hv__.xml kerning=yes embed-url=file:///C:/fopFonts/fonts/HV__.pfb font-triplet name=Helvetica style=normal weight=normal/ font-triplet name=Helvetica style=italic weight=bold/ font-triplet name=Helvetica style=normal weight=bold/ font-triplet name=Helvetica style=italic weight=normal/ /font !-- CODE 2000: -- font metrics-url=file:///C:/fopFonts/metrics/CODE2000.TTF_metrics.xml kerning=yes embed-url=file:///C:/fopFonts/fonts/CODE2000.TTF font-triplet name=CODE2000 style=normal weight=normal/ font-triplet name=CODE2000 style=italic weight=bold/ font-triplet name=CODE2000 style=normal weight=bold/ font-triplet name=CODE2000 style=italic weight=normal/ /font !-- LUCIDA SANS UNICODE: -- font metrics-url=file:///C:/fopFonts/metrics/l_10646.ttf_metrics.xml kerning=yes embed-url=file:///C:/fopFonts/fonts/l_10646.ttf font-triplet name=LucidaSansUnicode style=normal weight=normal/ font-triplet name=LucidaSansUnicode style=italic weight=bold/ font-triplet name=LucidaSansUnicode style=normal weight=bold/ font-triplet name=LucidaSansUnicode style=italic weight=normal/ /font !-- ARIAL: -- font metrics-url=file:///C:/fopFonts/metrics/arial.ttf_metrics.xml kerning=yes embed-url=file:///C:/fopFonts/fonts/arial.ttf font-triplet name=Arial style=normal weight=normal/ /font font metrics-url=file:///C:/fopFonts/metrics/arialbd.ttf_metrics.xml kerning=yes embed-url=file:///C:/fopFonts/fonts/arialbd.ttf font-triplet name=Arial style=normal weight=bold/ !-- Arial,Bold -- /font font metrics-url=file:///C:/fopFonts/metrics/arialbi.ttf_metrics.xml kerning=yes embed-url=file:///C:/fopFonts/fonts/arialbi.ttf font-triplet name=Arial style=italic weight=bold/!-- Arial,BoldItalic -- /font font metrics-url=file:///C:/fopFonts/metrics/ariali.ttf_metrics.xml kerning=yes embed-url=file:///C:/fopFonts/fonts/ariali.ttf font-triplet name=Arial style=italic weight=normal/!-- Arial,Italic -- /font !-- TIMESNEWROMAN: -- font metrics-url=file:///C:/fopFonts/metrics/times.ttf_metrics.xml kerning=yes embed-url=file:///C:/fopFonts/fonts/times.ttf font-triplet name=TimesNewRoman style=normal weight=normal/ /font font metrics-url=file:///C:/fopFonts/metrics/timesbd.ttf_metrics.xml kerning=yes embed-url=file:///C:/fopFonts/fonts/timesbd.ttf font-triplet name=TimesNewRoman style=normal weight=bold/ /font font
Re: config file embedding issues (trace)
Friends, I forgot to post the trace. [below] -Mike [java] [ERROR] FOP - Exception org.apache.fop.pdf.PDFConformanceException: For PDF/A-1b, all fonts, even the base 14 fonts, have to be embedded! Offending font: Helveticaorg.apache.fop.pdf.PDFConformanceException: For PDF/A-1b, all f onts, even the base 14 fonts, have to be embedded! Offending font: Helvetica [java] at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168) [java] at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115) [java] at org.apache.fop.cli.Main.startFOP(Main.java:166) [java] at org.apache.fop.cli.Main.main(Main.java:197) [java] - [java] org.apache.fop.pdf.PDFConformanceException: For PDF/A-1b, all fonts, even the base 14 fonts, have to be embedded! Offending font: Helvetica [java] at org.apache.fop.pdf.PDFFont.validate(PDFFont.java:199) [java] at org.apache.fop.pdf.PDFFont.toPDFString(PDFFont.java:210) [java] at org.apache.fop.pdf.PDFObject.toPDF(PDFObject.java:176) [java] at org.apache.fop.pdf.PDFObject.output(PDFObject.java:165) [java] at org.apache.fop.pdf.PDFDocument.output(PDFDocument.java:899) [java] at org.apache.fop.pdf.PDFDocument.outputTrailer(PDFDocument.java:972) [java] at org.apache.fop.render.pdf.PDFRenderer.stopRenderer(PDFRenderer.java:506) [java] at org.apache.fop.area.RenderPagesModel.endDocument(RenderPagesModel.java:245) [java] at org.apache.fop.area.AreaTreeHandler.endDocument(AreaTreeHandler.java:283) [java] at org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:171) [java] at com.icl.saxon.output.ContentHandlerProxy.endDocument(ContentHandlerProxy.java:104) [java] at com.icl.saxon.output.ProxyEmitter.endDocument(ProxyEmitter.java:69) [java] at com.icl.saxon.output.GeneralOutputter.close(GeneralOutputter.java:725) [java] at com.icl.saxon.Controller.resetOutputDestination(Controller.java:480) [java] at com.icl.saxon.Controller.transformDocument(Controller.java:1132) [java] at com.icl.saxon.Controller.transform(Controller.java:994) [java] at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:165) [java] at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115) [java] at org.apache.fop.cli.Main.startFOP(Main.java:166) [java] at org.apache.fop.cli.Main.main(Main.java:197) BUILD FAILED - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Just trying to print two values on the same line not in a table
Friends, I am trying to print the value of mrw-message-prefix followed by mrw-message on the same line. This line of text is not in a table. I was sure inline was the way to go. BUT, my code prints on two lines. Any suggestions? fo:block line-height=.11in white-space-collapse=false linefeed-treatment=preserve font-size=9pt font-weight=bold fo:inline xsl:value-of select=./mrw-message-prefix/ xsl:attribute name=text-alignjustify/xsl:attribute xsl:value-of select=./mrw-message/ /fo:inline /fo:block Jeff