This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes XSLT problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XSLT problem" Watch "XSLT problem" New topic

XSLT problem

Md Fizal
Ranch Hand

Joined: Dec 23, 2002
Posts: 61
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.
I agree. Here's the link:
subject: XSLT problem
It's not a secret anymore!