Re: [Fwd: [xep-support] Text compressed in table cells]

From: Chris Cosentino (
Date: Wed Oct 20 2004 - 12:58:11 PDT

  • Next message: Hepler Henry H (Contractor): "RE: [xep-support] Is this error a Saxon error or XEP error?"


    That did it. I googled some code and made some changes:

        <xsl:template name="fixurl">
            <xsl:param name="string"/>
                <xsl:when test="contains($string, '/')">
                    <xsl:value-of select="concat(substring-before ($string, '/'), '/&#x200B;')"/>
                        <xsl:when test="contains(substring-after ($string, '/'), '/')">
                            <!-- If the left over string still contains matches go recursive! -->
                            <xsl:call-template name="fixurl">
                                <xsl:with-param name="string" select="substring-after($string, '/')"/>
                            <!-- If not simply return the rest of the string -->
                            <xsl:value-of select="substring-after ($string, '/')"/>
                    <xsl:value-of select="$string"/>


    Wednesday, October 20, 2004, 7:51:30 AM, wrote:
    AD> Hi Chris,

    AD> This is a property of our formatter: it does not break words. If you
    AD> want to enable a break between letters, intersperse them with zero-width
    AD> spaces: &#x200B;
    AD> text&#x200B;text......&#x200B;..........

    AD> Two .fo and resulting .pdf files are attached - with
    AD> zero-width space and without it.

    AD> Best regards
    AD> Ashot Darbinyan
    AD> RenderX

    AD> -------- Original Message --------
    AD> Subject: [xep-support] Text compressed in table cells
    AD> Date: Tue, 19 Oct 2004 12:43:23 -0400
    AD> From: Chris Cosentino <>
    AD> Reply-To:
    AD> Organization: Cisco Systems, Inc.
    AD> To:

    AD> On a few occasions we have a long string of text that gets compressed
    AD> (letters overwrite each other) when in a table cell.

    AD> These are long, "solid" strings of text. For example, URLs.

    AD> Is there some method to get these to line break, for instance, on any
    AD> "/" in the URL, so that the text is not compressed?

    AD> Thanks,

    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service

    This archive was generated by hypermail 2.1.5 : Wed Oct 20 2004 - 13:15:51 PDT