xsl-list
[Top] [All Lists]

FW: Basic XSLT ;-)

2005-01-14 05:44:29
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!! ;-)


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>