[xsl] Unexpected behavior with tokenize function

Subject: [xsl] Unexpected behavior with tokenize function
From: Farrukh Najmi <farrukh@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 22 Mar 2008 08:31:21 -0400
In my style sheet I am using the following fragment that uses the xalan extension function named tokenize:

     <xsl:for-each select="xalan:tokenize('prefix:namespace', ':')">
       <token>
         <xsl:value-of select="."/>
       </token>
     </xsl:for-each>

What I expected is the following output:

<token>
 prefix
</token>
<token>
 namespace
</token>

Instead what I get is:

<token>
 prefixnamespace
</token>

Can anyone please clue me in to why that is happening? Thanks.

ps: Many thanks Mukul for your helpful answer to the WSDL namespace map question. I will report back on my experience with that later.

--
Regards,
Farrukh Najmi

Web: http://www.wellfleetsoftware.com

Current Thread