[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: marking up text when term from other file is found
On 22/04/2010 12:54, Wolfgang Laun wrote:
Two comments and two questions. You can pre-rocess the string to put in reliable separators (usually) there were some examples in a thread on this list a few weeks back. But exactly what you need to do depends on what the answer is supposed to be if the input string looks like ......Sick children, illness... as then case insensitive matches would lead to a requirement to use overlapping markup around .Sick children and children, illness Or perhaps in real cases you know such overlaps don't matter (in which case you may also know you don't need to worry about word boundaries)
Can it be done by constructing a temporary tree and applying xsl:key to that? No an xsl:key always applies to all documents, so if you do need to construct a temporary document its use would be with key() rather than xsl:key
This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
|
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
|