This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]