Interesting. NOWRAP thing is rather mysterious. Seems to be the only HTML attribute breaking well-formedness. But it is how TD tag is defined:
<TD LANG="..." DIR=ltr|rtl ID="..." CLASS="..." AXIS="..." AXES="..." NOWRAP ROWSPAN=value COLSPAN=value ALIGN=left|right|center|justify|char|decimal CHAR="..." CHAROFF="..." DP="..." VALIGN=top|middle|bottom|baseline WIDTH=value BGCOLOR="...">characters...</TD> I wonder what was the reason to make NOWRAP a syntactic exception?
Also <P> tag is defined as
<P ... WRAP=on|off NOWRAP ...> I hope Frank�s variant will work. If not, you will need to bury yourself into <xsl:text> mess
If you need simply output TD tag with NOWRAP
word, regardless of XML data, you can go like this:
<xsl:text disable-output-escaping="yes">
<td class="txt" valign="top" align="right" NOWRAP>
</xsl:text>
If you need to output some part of the TD tag based on XML data, say, you need to read the value for your class attribute, then it is a bit more complicated.
Assuming the value is in <properElement properAttribute=�...�>, we break the target expression into three parts:
1. <xsl:text disable-output-escaping="yes">
<td class="</xsl:text>
2. <xsl:value-of select="properElement/@properAttribute"/>
3. <xsl:text disable-output-escaping="yes">" valign="top" align="right" NOWRAP>
</xsl:text>
[This message has been edited by Mapraputa Is (edited June 08, 2001).]