Categories
- All Categories
- Oracle Analytics Learning Hub
- 30 Oracle Analytics Sharing Center
- 18 Oracle Analytics Lounge
- 238 Oracle Analytics News
- 45 Oracle Analytics Videos
- 16K Oracle Analytics Forums
- 6.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 88 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Need help in building XSL-FO report in 12.2.5
Summary
Need help in building XSL-FO report in 12.2.5
Content
Hi,
We have a requirement to build a custom report to display Terms and Conditioons.
Terms and conditions are containing html tags and we are using XSL-FO template to replace the same. I am using the below template code but it is not replacing the html tags.
Template Code
===========
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xdofo="http://xmlns.oracle.com/oxp/fo/extensions" version="1.0">
<xsl:template name="Test" match="/">
<xsl:apply-templates select="QUOTE/LIST_G_TERMS/G_TERMS"/>
</xsl:template>
<xsl:template match="QUOTE/LIST_G_TERMS/G_TERMS">
<xsl:apply-templates select="EMPNAME"/>
</xsl:template>
<xsl:template match="EMPNAME">
<xsl:apply-templates />
</xsl:template>
<xsl:template match="p">
<fo:block>
<xsl:apply-templates />
</fo:block>
</xsl:template>
<xsl:template match="b">
<fo:inline>
<xsl:attribute name="font-weight">bold</xsl:attribute>
<xsl:apply-templates />
</fo:inline>
</xsl:template>
</xsl:stylesheet>