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(_at_)gol(_dot_)com>
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