This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: A new XSLT function: node-set createTextNodes(object,object?)
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] A new XSLT function: node-set createTextNodes(object,object?)
- From: Miloslav Nic <nicmila at idoox dot com>
- Date: Mon, 18 Dec 2000 09:52:12 +0100
- References: <3A3DC326.4AEC1DE1@idoox.com> <3A3DC833.19F4E663@dyomedea.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
I would love to have it.
I cannot imagine my programming without regexps and I am missing them
sorely form the XSLT spec but implementing regexps
involves more work than the proposed
function and so I hope that at least some possibility like this will be
part of XSLT.
Eric van der Vlist wrote:
>
> Hi Nic,
>
> Miloslav Nic wrote:
> >
> > The following mail I have sent to xsl-editors@w3.org
> > with cc to "xsl-list@mulberrytech.com".
> >
> > 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
--
******************************************
<firstName> Miloslav </firstName>
<surname> Nic </surname>
<mail> nicmila@idoox.com </mail>
<support> http://www.zvon.org </support>
<zvonMailingList>
http://www.zvon.org/index.php?nav_id=4
</zvonMailingList>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list