This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: BreakIterator in XSLT
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] BreakIterator in XSLT
- From: Sebastian Rahtz <sebastian dot rahtz at computing-services dot oxford dot ac dot uk>
- Date: Fri, 22 Jun 2001 13:26:10 +0100
- References: <B08661D21F0FD311A21A00805FC7D65002C44BD4@usa0845ms1.svcdoc.mc.xerox.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Dudley, Mark writes:
> I have need to present a translation tool with all of the sentences in an
> XML document. Right now, I am identifying sentences in a very error-prone
> way (testing on '. ' strings). Has anyone had experience using the
> BreakIterator Java class to identify and tag the sentences in an XML
> document?
so parse
<p>I am <lb/>the <q>walrus</q></p>
for me.... you cannot just look at the text!
maybe you are already doing this?
Sebastian
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list