Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 54 Oracle Analytics and AI Sharing Center
- 26 Oracle Analytics and AI Lounge
- 312 Oracle Analytics and AI News
- 57 Oracle Analytics and AI Videos
- 16.4K Oracle Analytics and AI Forums
- 6.7K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 117 Oracle Analytics and AI Trainings
- 24 Oracle Analytics and AI 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>