Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot use tokenize function, help!!

Status
Not open for further replies.

KWhy21

Programmer
Apr 13, 2005
2
US
I'm declaring the xsl 2 namespace like so:

<xsl:stylesheet version="2.0" xmlns:xsl="
and trying to reference the tokenize function here:

<xsl:variable name="tokenizedSample" select="tokenize(Split,',')" />

and I keep getting this error:

msxml3.dll error '80004005'

'tokenize' is not a valid XSLT or XPath function. -->tokenize(Split,',')<--

/xml.asp, line 13

Every site I find that discusses tokenize just assumes it will work in xsl 2, but it won't work for me, can anyone tell me what's going on??
 
I'm guessing that tokenize is an XPath 2.0 function and msxsl uses XPath 1.0, although you'll have to check the relevant specs to be sure.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top