XML to HTML using XSL - check node contents

duffyhitman

New Member
\[code\]<A> <B>Hello</B> <B>Goodbye</B> <B>Hello</B></A>\[/code\]And this XSL:\[code\]<xsl:template match="/" > <html> <body> <xsl:apply-templates/> </body> </html></xsl:template> \[/code\]I want XSL to ONLY print out something where there are B nodes containing "Hello".NOTE: I don't want to print the actual node contents ("Hello"), I want to print something else i.e:"Nice to meet you""Nice to meet you"(As there are 2 nodes with "Hello" present and the "Goodbye is ignored")Thanks!
 
Top