Hello,

Does anyone know how to get a text node from an xml source to wrap in netscape 6.2?

For example,

In the source xml file, I have a very long block of text that I want to keep to 240 pixels using css like so:


                        <textblock style="width:240;">
                                very long text block here....   
                        </textblock >

Yet, Netscape 6.2 isn't wrapping the text. It only wraps at the edge of the window instead of at 240 pixels.


In my xslt template I have:

<xsl:template match="textblock">
<xsl:element name="div">
<xsl:if test="@class"><xsl:attribute name="class"><xsl:value-of select="@class"/></xsl:attribute></xsl:if>
<xsl:if test="@style"><xsl:attribute name="style"><xsl:value-of select="@style"/></xsl:attribute></xsl:if>
<xsl:apply-templates/>
</xsl:element>
</xsl:template>



Does anyone know how I can do solve this?

TIA,
Bennett



Reply via email to