xsl-list
[Top] [All Lists]

Re: [xsl] Dropping unwanted period a the end of <forename> node.

2012-05-23 07:38:46
On 2012/05/23 20:15, Michel Hendriksen wrote:
<xsl:when test="substring(forename, string-length(.)) = '.'">
  <xsl:value-of select="surname" />,<xsl:value-of select="forename"
/><xsl:text>&#160;</xsl:text>
    </xsl:when>

should be

<xsl:when test="substring(forename, string-length(forename)) = '.'">
  <xsl:value-of select="surname" />,<xsl:value-of select="forename"
/><xsl:text>&#160;</xsl:text>
    </xsl:when>


Indeed, that's the trick.

Much appreciated!

Chuck



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>