Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 43 Oracle Analytics and AI Sharing Center
- 19 Oracle Analytics and AI Lounge
- 283 Oracle Analytics and AI News
- 59 Oracle Analytics and AI Videos
- 16.3K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 108 Oracle Analytics and AI Trainings
- 20 Oracle Analytics and AI 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