File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

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: http://aspose.com/file-tools
 
subject: XSLT problem