So, text()[not(following-sibling::node())] may match the last text
element. You could use normalize-spaces but that will also
remove leading spaces.
prefix the text() with a char and substring from the 2nd position.
substring(normalize-space(concat('X', text())), 2)
That's an old trick I've seen here alot. It will save at least 1 leading space.
--~------------------------------------------------------------------
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>
--~--