[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Markup a paragraph of text based on keywords
Given this highly contrived paragraph of text:
<p>words apple words juice, orange words apple</p> ...and a lookup file: <word>apple</word> <word>juice, orange</word> I need to wrap the first occurance of each item in the lookup file with an anchor: <p>words <a>apple</a> words <a>juice, orange</a> words apple</p> The space in the keyword makes this a hard problem... any cunning solutions? cheers andrew
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|