Unable to call my style subtemplate
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">