xsl-list
[Top] [All Lists]

Re: [xsl] String manipulation in Xslt 1.0

2020-08-27 03:55:54
Am 27.08.2020 um 10:44 schrieb Leo Studer 
leo(_dot_)studer(_at_)varioweb(_dot_)ch:
Use

substring(.,string-length(.)) eq ‘;’

The eq operator doesn't exist in XPath 1.0 so you need the = operator if
you intend to write code for an XSLT 1.0 processor.

On 27 Aug 2020, at 10:04, Michael Kay mike(_at_)saxonica(_dot_)com 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:

ends-with() is an XPath 2.0 function, not available in 1.0.

--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

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