RE: [xsl] Sub- and Superscript

Subject: RE: [xsl] Sub- and Superscript
From: DPawson@xxxxxxxxxxx
Date: Mon, 23 Apr 2001 14:54:05 +0100

> -----Original Message-----
> From: David Carlisle [mailto:davidc@xxxxxxxxx]
> Sent: 23 April 2001 14:32
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] Sub- and Superscript
> > This is really an HTML question though, not an XSL question.
> No, your answer was an HTML answer, but the original poster
> was creating XSL-FO not HTML!
> I don't think there is a direct way of specifying this in FO.
> One could use an inline table, or for a processor that supports MathML
> (eg passivetex) one could use msubsup from the MathMl namespace.

How about 

<xsl:template match="sup">
<fo:inline baseline-shift="10%">
  <xsl:apply-templates /> 

Works for me.


 XSL-List info and archive:

Current Thread