sup with fo

2002-05-07 Thread Mathy V Arumugam
 Hello,

I have 5*10sup5/sup in my xml file and trying to do a superscript
using the following xsl lines.  Unfortunately, this does nothing.   Any
clue???

xsl:template match=//sup
  fo:inline baseline-shift=sup font-size=3px
xsl:apply-templates/
  /fo:inline
/xsl:template

Thanks
Mathy




Re: sup with fo

2002-05-07 Thread Mathy V Arumugam
Hmmm.. I have tried baselin-shift to super.  I think the problem is with my
xml file :).  Instead of having supertag in xml, I have the entity
representation of the tag.. meaning I have lt;supergt;.   So, by doing the
search for the tag super does not help.  Any advice

Thanks J.Pietschmann
Mathy

J.Pietschmann wrote:

 Mathy V Arumugam wrote:
   Hello,
 
  I have 5*10sup5/sup in my xml file and trying to do a superscript
  using the following xsl lines.  Unfortunately, this does nothing.   Any
  clue???
 
  xsl:template match=//sup
fo:inline baseline-shift=sup font-size=3px

 Try baseline-shift=super,
   http://www.w3.org/TR/xsl/slice7.html#baseline-shift

 J.Pietschmann