[xsl] FW: Basic XSLT ;-)

Subject: [xsl] FW: Basic XSLT ;-)
From: "Robert Soesemann" <rsoesemann@xxxxxxxxxxx>
Date: Fri, 14 Jan 2005 13:44:29 +0100
I am struggeling with a really basic XSL task.  I guess I am missin
something.
I need a template that matches the text values of all foo element whose
original value is 'Value'.
The original value should be normalized as I want to match e.g.:

<foo>       Text </foo>

or

<foo>Text     </foo>

or

<foo name="bar">
    	Text
	<child>...</child>
</foo>

I tried without success:
------------------------

<xsl:template match="foo[normalize-space(text())='Value']">
....
</xsl:template>

Please help!! ;-)

Current Thread