It's wrong to write, xsl:transform version="2.0" when using Xalan's latest version. As Xalan currently doesn't support XSLT 2.0. xsl:transform version="1.0" would work as well.
On 4/9/07, Dave Brosius <[EMAIL PROTECTED]> wrote:
Thanks, all, for the input. For the curious, this seems to work as desired <xsl:transform version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xalan="http://xml.apache.org/xalan" exclude-result-prefixes="xalan"> <xsl:output method="xml" omit-xml-declaration="yes"/> <xsl:param name="input"/> <xsl:template match="/"> <xsl:element name="test"> <xsl:for-each select="xalan:tokenize($input, ',')"> <xsl:element name="{string(.)}"/> </xsl:for-each> </xsl:element> </xsl:template> </xsl:transform>
-- Regards, Mukul Gandhi