normalize-space() problem with Xalan
Dear list, I'm using XMLSPY with both it's internal XSLT processor and XALAN as external XSLT processor. this piece of code: <xsl:for-each select='Class'> <xsl:variable name='base' select='@_id'/> <xsl:for-each select='@subTypes'> <xsl:call-template name='tokenize'> <xsl:with-param name='str' select="normalize-space(@subTypes)"/> <xsl:with-param name='base' select='$base'/> </xsl:call-template> </xsl:for-each> </xsl:for-each> works with XMLSPY internal XSLT processor, and doesn't work with XALAN. The problem is with normalize-space(). While XMLSPY's proc. does the right thing, the str passed to the named template will contain the subTypes attribute of the Class element whenever such an attribute exists. When running it with Xalan, the named template tokenize gets an empty string. Any Idea? Thanks, Endre XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format