Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XSLT problem

 
Md Fizal
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic