Subject: [xsl] normalize-space() problem with Xalan From: "Endre Magyari" <endre@xxxxxxxxx> Date: Sun, 1 Dec 2002 01:11:24 +0200 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Different behavior between Xa, Fengrui Gu | Thread | [xsl] XSL within HTML javascript, Jason Lustig |
[xsl] XSL within HTML javascript, Jason Lustig | Date | |
Month |