It's not a secret anymore!
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

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: XSLT problem
jQuery in Action, 3rd edition