### Searched on Google with the first line of a JAVAstack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

## Recommended solutions based on your search

### Solutions on the web

via Atlassian JIRA by Susan Hayes, 2 years ago
Can not transform XHTML to XSL-FO due to an error! %HTMLlat1; --> ]> This page is currently under construction! Calculation Types The Sabrix Solution currently offers the three following Calculation Types: Forward (where the Gross Amt is passed in
via Atlassian JIRA by Susan Hayes, 1 year ago
Can not transform XHTML to XSL-FO due to an error! %HTMLlat1; --> ]> This page is currently under construction! Calculation Types The Sabrix Solution currently offers the three following Calculation Types: Forward (where the Gross Amt is passed in
via Atlassian JIRA by Igor Minar, 1 year ago
Can not transform XHTML to XSL-FO due to an error in the following XHTML null
via Atlassian JIRA by Igor Minar, 1 year ago
Can not transform XHTML to XSL-FO due to an error in the following XHTML null
via Atlassian JIRA by Arie Murdianto, 1 year ago
Can not transform XHTML to XSL-FO due to an error in the following XHTML null
via Atlassian JIRA by Arie Murdianto, 1 year ago
Can not transform XHTML to XSL-FO due to an error in the following XHTML null
``````com.atlassian.confluence.renderer.WikiRenderException: Can not transform XHTML to XSL-FO due to an error! %HTMLlat1; --> ]>
Calculation Types
The Sabrix Solution currently offers the three following Calculation Types:
Forward (where the Gross Amt is passed in)
Reverse from Tax (where Tax Amt is passed in)
Reverse from Total (where a combined Gross Amt and Tax Amt are passed in as a Total amount).
Forward:
Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt.
Calculation Steps:
Gross Amt * Rate(s) = Tax Amt
10000.00 * 0.08 = 800.00
Tax Amt + Gross Amount = Total
800.00 + 10000.00 = 10800.00
Examples:
Workbench Scenario and Tax Calculation Results
xmlInput
Reverse from Tax
Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. Note: Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total.
Calculation Steps:
Tax Amt / Rate(s) = Sub-total
500.00 / 0.08 = 6250.00
Subtotal + Tax Amt = Total
6250.00 + 500.00 = 6750.00
Examples:
Workbench Scenario and Tax Calculation Results
xmlInput
Reverse from Total
A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt.
Calculation Steps:
Rate(s) + 100% = Sub-total
0.08 + 1.00 = 1.08
Total / Sub-total = Gross Amt
20000.00 / 1.08 = 18518.52
Gross Amt * Rate = Tax Amt
18518.52 * 0.08 = 1481.48
Gross Amt + Tax Amt = Total
18518.52 + 1481.48 = 20000.00
Tax Amt / Gross Amt = Eff Rate
1481.48 / 18518.52 = 0.0799999136 (0.08)
Examples:
Workbench Scenario and Tax Calculation Results
xmlInput````	at com.atlassian.confluence.importexport.impl.WikiExporter.convertXHtmlToXslFo(WikiExporter.java:201)``	at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:121)``	at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:86)``	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)``	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)``	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)``	at java.lang.reflect.Method.invoke(Method.java:324)``	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260)``	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)``	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250)``	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)``	at org.apache.velocity.Template.merge(Template.java:296)``	at com.atlassian.confluence.util.TemplateSupport.processTemplate(TemplateSupport.java:71)``	at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:248)``	at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:151)``	at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:144)``	at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:110)``	at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:83)``	at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:113)````