Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 16 Oracle Analytics Lounge
- 216 Oracle Analytics News
- 43 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 79 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
how to use xsl:stylesheet code in rtf direct with out make separate template and call it

Summary
how to use xsl:stylesheet code in rtf direct with out make separate template and call it
Content
this my 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" version="2.0"><xsl:output method="xml" encoding="UTF-8"/> <xsl:template name="others"> <xsl:variable name="list"> <xsl:for-each-group select="current-group()" group-by="GRP"> <xsl:sort select="sum(current-group()/C_BUDG)" data-type="number" order="descending" /> <v><xsl:value-of select="sum(current-group()/C_BUDG)"/></v> </xsl:for-each-group> </xsl:variable> <xsl:value-of select="sum($list/v[position()>5])"/> </xsl:template></xsl:stylesheet>
Answers
-
Hi,
You can create tags and put your xsl template code there....and call as bellow.
Please note in each tag you can put only 240 characters so you need to create number of tags so that you can place all your template code:
E.g.
I have below xsl code and I put in three tags
<xsl:template name="Brajesh">
<fo:inline font-size="10.0pt" white-space-collapse="false" height="11.160001pt" font-family="Times New Roman" letter-spacing="2.0pt">Brajesh Shukla</fo:inline>
</xsl:template>
CLLTEMP : <xsl:call-template name="Brajesh"></xsl:call-template>
TAG1: <xsl:template name="Brajesh">
TAG2: <fo:inline font-size="10.0pt" white-space-collapse="false" height="11.160001pt" font-family="Times New Roman" letter-spacing="2.0pt">Brajesh Shukla</fo:inline>
TAG3: </xsl:template>
;
0