XSLT problem

Md Fizal

Ranch Hand

Posts: 61

posted 14 years ago

I have an XSL file which is used to transform an input XML file. In the input XML file, I will get a 'Search Keyword' from the first tag. If I find the same keyword in any of the text in the tags below, I wanna highlight only the particular keyword. Say, for example, if I get the keyword as 'USA', and if the text in the following tags are like 'I live in USA', 'God save USA', then only the keyword 'USA' should be higlighted. How do I accomplish this in XSLT.