Re: [xsl] xsl:when problem

Subject: Re: [xsl] xsl:when problem
From: "Joris Gillis" <roac@xxxxxxxxxx>
Date: Sun, 04 Sep 2005 18:45:47 +0200
Tempore 18:36:12, die 09/04/2005 AD, hinc in xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit Roel Dillen <dillenroel@xxxxxxxxxx>:

       <xsl:when test='tag ="blabla"'>
This works if the tag-value pair is exactly the above BUT

if, for readability's sake, I try to write the tag-value pair like this
		<tag>
			blabla
		</tag>
then it doesn't match the test criterium
<xsl:when test='normalize-space(tag)="blabla"'>

--
Joris Gillis (http://users.telenet.be/root-jg/me.html)
Deserta faciunt et innovationem appelant

Current Thread