Subject: Re: A new XSLT function: node-set createTextNodes(object,object?)
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Mon, 18 Dec 2000 09:17:55 +0100
|
Hi Nic,
Miloslav Nic wrote:
>
> The following mail I have sent to xsl-editors@xxxxxx
> with cc to "xsl-list@xxxxxxxxxxxxxxxx".
>
> node-set createTextNodes(object,object?)
>
> Rationale: text handling is rather cumbersome in XSLT, some general
> method would be very useful
>
> The proposed function takes the first argument and converts it
> into a string
> The second optional object is a separator (default = whitespaces \s+)
>
IMHO, what would be really nice and really powerful would be to allow a
regular expression as 2nd parameter and to return a node set with the
matching substrings...
Eric
--
------------------------------------------------------------------------
Eric van der Vlist Dyomedea http://dyomedea.com
http://xmlfr.org http://4xt.org http://ducotede.com
------------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|