Subject: Re: The top 10 limitations of XSLT 1.0
From: Joerg Pietschmann <joerg.pietschmann@xxxxxx>
Date: Thu, 01 Mar 2001 13:14:59 +0100
|
A few that had not been mentioned so far:
- Tokenisation. Use cases: Parsing dates, ENTITIES attributes,
comma separated lists etc.
I think of an tokenise() function which results in a set
of text nodes. Something along the lines of
<xsl:value-of select="(tokenise(date,' ')[1]"/>
or
<xsl:for-each select="tokenise(formats,' ')">...
- More powerful search&replace facilities (not necessarily
full regexp powered). Use case: Escaping quotes in strings to
be used as JavaScript literals.
Regards
J.Pietschmann
--
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|