Highlighting text

I’m not sure if this is the right place to ask, but after performing a search for a give word I would like to highlight the searched word in the found text. Is (and if yes how) is this feasible using XSLT. Or do I need a JavaScript to do this (any briliant ideas on how…)

Hello Marcel,

Tamino v4 has a new feature called highlighting. With this feature you can issue an XQuery query againest Tamino and by the use of the tf:highlight() function of XQuery you can highlight those words that match some criteria. What this does is generate PI’s into the resulting XML document. With XSTL you should then be able to process the PI’s accordingly. But this is brand new in Tamino v4.1.4.

Hope this helps.

Stuart Fyffe-Collins
Software AG (UK) Ltd.