This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Node Text parsing...


Thanks for your advices David,
I'll came back to the list when I have something more complete
to show, and will see if I followed the right path :)

Frank.

-----Original Message-----
From: David Carlisle [mailto:davidc@nag.co.uk] 
Sent: miércoles, 07 de noviembre de 2001 22:35
To: xsl-list@lists.mulberrytech.com
Subject: Re: [xsl] Node Text parsing...




> Yes I need the search to match between nodes, otherwise it'll be
> Too easy to be asking here ;)

then you need to be very careful how you define matching and when it
makes sense to wrap the matched text in an element.
If a search for "hello world" finds
<b>hello</b> <i>world"</i>
then does it also find

<b>.... hello</b> <i>world ....</i>

and if so, where do you put the element marking the found text?


> Also text can be in any language (including japanese, corean, etc.)
> But... I think that shouldn't be a problem using UTF-8 ??
multilingual text is always a problem:(

the reason I mentioned English is not for reasons of encoding the
characters, but for encoding a lowercasing function in XSL
as has been mentioned before in this list doing the case translation for
english is OK in XSL, just translate() using 26 uppercase and 26 lowercase
letters. But for other languages it is a lot harder to do in XSL and
calling out to a language with real i18n string searching support makes
more sense.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]