Hi all,

I'm trying to do the following:

    <xsl:template match="superscript">
        <xsl:if test="string(.)">
            <fo:inline baseline-shift='super'>
                <xsl:apply-templates/>
            </fo:inline>
        </xsl:if>
    </xsl:template>

The XML file can look something like:
<paragraph> blablabla <superscript>test</superscript> blablabla </paragraph>

That is, I'm trying to shift the text to superscript... Like in 1*10^8, with the 8 
'hanging' above the rest..

However, it does not work.. Nothing happens. What have I done wrong?

Thanks!
Emma


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to