W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2001

XSLT 1.1: working with strings (replace)

From: Ricardo Amador & M.Manuel Cabrita <ra.mc@mail.telepac.pt>
Date: Fri, 2 Feb 2001 14:54:43 -0500 (EST)
To: <xsl-editors@w3.org>
Message-ID: <NCBBLHBJCBPMBLHIPBKAOEBPCKAA.ra.mc@mail.telepac.pt>
Since there are functions like translate why don't you include a
function replace that would work with regular expressions.

Even for simple cases translate is so limited. For instance,
I cannot translate a single character into a sequence of 2
characters (like an "escape" sequence).

I would also like to have split/join functions but I don't know
exactly how it could be done, maybe with a node set of text nodes.

Ricardo Amador
Received on Sunday, 4 February 2001 10:09:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:21 UTC