|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] additional question: FO subscript
I have the following code:
....
<xsl:when test="contains(./row-title, 2)">
<xsl:variable name="subscript2">
<xsl:value-of select= "<fo:inline baseline-shift="sub"
font-size="6px">2</fo:inline>">
</xsl:value-of> <!--Problem here-->
</xsl:variable>
<xsl:for-each select="./row-title">
<xsl:value-of select="translate(., 2, $subscript2)"/>
</xsl:for-each>
</xsl:when>
.........
I want to give the 'subscript of 2' a variable name so that it can be used
later:
i.e. I want to achieve the equivalent of
<xsl:value-of select= "<fo:inline baseline-shift="sub"
font-size="6px">2</fo:inline>">
</xsl:value-of>
But how do I include the <fo:inline> instruction within the <xsl:value-of>?
Regards
Tanz.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








