Eddie Ho wrote:
> 
> 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?  

Your are the first person to report this "Too many nested
apply-templates" problem. Therefore I'm sorry but I've no idea of what
happens.



> Please advise.

Please send me (mailto:[email protected]) your input file
25-000_AVO.xml. If this file references other files (DTD, graphic files,
etc), do not hesitate to send me a .zip archive containing all these
other files. I really need this in order to reproduce the problem.
 
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to