Subject: Re: Testing last character for bibliography output
From: Charles Muller <acmuller@xxxxxxx>
Date: Mon, 14 Jul 2003 17:11:41 +0900 (JST)
|
Jeni Tennison wrote:
> Use the substring() function to get the last character of a string.
> The following tests whether the last character of the string value of
> the current node is a period:
>
> substring(., string-length(.)) = '.'
It worked like a charm, and opens up a whole new dimension for me.
Thanks,
Chuck
---------------------------
Charles Muller <acmuller@xxxxxxx>
Faculty of Humanities, Toyo Gakuen University
Digital Dictionary of Buddhism and CJKV-English Dictionary [http://www.acmuller.net]
H-Buddhism List Editor [http://www.h-net.org/~buddhism/]
Mobile Phone: 090-9310-1787
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|