Hi Hussein, No matter which XSL-FO stylesheet I used, I kept getting the following error:
Converting "R:\NSWJC\25-000_AVO.xml" to "R:\NSWJC\25-000_AVO.rtf" using conversion specification "foToRTF"... Compiling XSLT stylesheet "C:\Program Files (x86)\XMLmind_XSL_Utility\addon\config\docbook\xsl\fo\docbook.xsl"... XSLT stylesheet compiled in 2.293s. Transforming "R:\NSWJC\25-000_AVO.xml" to "R:\NSWJC\xslu5241618886287797452.tmp" using XSLT stylesheet "C:\Program Files (x86)\XMLmind_XSL_Utility\addon\config\docbook\xsl\fo\docbook.xsl"... Fatal error: Too many nested apply-templates calls javax.xml.transform.TransformerException: Too many nested apply-templates calls +--------------------------------------- | com.icl.saxon.style.StyleElement.styleError(StyleElement.java:818) | com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:645) | com.icl.saxon.style.XSLGeneralVariable.getSelectValue(XSLGeneralVariable.jav a:238) | com.icl.saxon.style.XSLVariable.process(XSLVariable.java:93) | com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:643) | com.icl.saxon.style.LiteralResultElement.process(LiteralResultElement.java:2 90) | com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:643) | com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:229) | com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:202) | com.icl.saxon.Controller.applyTemplates(Controller.java:288) | com.icl.saxon.style.XSLApplyTemplates.process(XSLApplyTemplates.java:139) | com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:643) | com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:229) | com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:202) | com.icl.saxon.Controller.applyTemplates(Controller.java:297) | com.icl.saxon.style.XSLApplyTemplates.process(XSLApplyTemplates.java:139) | com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:643) | com.icl.saxon.style.LiteralResultElement.process(LiteralResultElement.java:2 90) | com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:643) | com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:229) +--------------------------------------- Any workaround? Please advise. Regards, Eddie -----Original Message----- From: Hussein Shafie [mailto:[email protected]] Sent: Monday, 4 April 2011 7:01 PM To: Eddie Ho Cc: [email protected] Subject: Re: [XFC] XMLmind XSL Utility 4.4.2 does not translate DocBook data Eddie Ho wrote: > > I have downloaded the XMLmind XSL Utility for evaluation purpose. I > specified the input file, selected dbToRTF, nominated the output file > and then clicked on the Convert button. What I got is a RTF file that > contains the fonttbl and colortbl only. In principle an error message should be displayed in the ``console'' found below the Convert button. > What have I done wrong? Is the > default xsl(s) not appropriate? Please advise. > This generally means that the input file is not a DocBook 4 document at all. It could be: * a DocBook 5 file, in which case, you should use db5toRTF; * an XSL-FO file generated by the DocBook XSL stylesheets but obtained outside XMLmind XSL Utility, in which case you should use foToRTF; * something else; Please send me (mailto:[email protected]) your input if you want a more accurate diagnostic. -- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support

