Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Need help in building XSL-FO report in 12.2.5

Question
11
Views
0
Comments

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>