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
| Current Thread |
- xsl:stylesheet, (continued)
- TP - Tue, 20 Nov 2001 10:21:05 -0500 (EST)
- Wendell Piez - Tue, 20 Nov 2001 12:05:30 -0500 (EST)
- Michael Kay - Wed, 21 Nov 2001 05:37:25 -0500 (EST)
- David Carlisle - Tue, 20 Nov 2001 10:27:01 -0500 (EST)
- Tanzila Mohammad - Tue, 20 Nov 2001 10:40:54 -0500 (EST) <=
- Jeni Tennison - Tue, 20 Nov 2001 11:04:39 -0500 (EST)
- Tanzila Mohammad - Wed, 21 Nov 2001 03:20:43 -0500 (EST)
- Jeni Tennison - Wed, 21 Nov 2001 07:31:17 -0500 (EST)
- Tanzila Mohammad - Wed, 21 Nov 2001 07:53:27 -0500 (EST)
|
|