BI Publisher (MOSC)

MOSC Banner

Unable to call my style subtemplate

edited Mar 25, 2019 5:09AM in BI Publisher (MOSC) 4 commentsAnswered

Hello gurus,

I created a style subtemplate called chemical.xsl and created a sub template with a xsl extension.

Now I imported that subtemplate in my main template, and then made a call to that subtemplate like this. I have the below code in a form field.

<xsl:call-template name="chemical_formatter">

<xsl:with-param name="formula" select="'H2O'"/>

</xsl:with-param>

</xsl:call-template>

My xsl file top portion is like this:

<?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">

<xsl:template name="chemical_formatter">

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center