Re: [xsl] A new XSLT function: node-set createTextNodes(object,object?)

Subject: Re: [xsl] A new XSLT function: node-set createTextNodes(object,object?)
From: Miloslav Nic <nicmila@xxxxxxxxx>
Date: Mon, 18 Dec 2000 09:52:12 +0100
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@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

-- 
******************************************
<firstName> Miloslav </firstName>    
<surname>   Nic      </surname>     

<mail>    nicmila@xxxxxxxxx    </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


Current Thread