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: "Dudley, Mark" <Mark dot Dudley at usa dot xerox dot com>
- Date: Fri, 22 Jun 2001 08:41:33 -0400
- Reply-To: xsl-list at lists dot mulberrytech dot com
Yes. That would be a problem, but the DTD that the XML instances validate
against does not have any in-line tags.
-----Original Message-----
From: Sebastian Rahtz
[mailto:sebastian.rahtz@computing-services.oxford.ac.uk]
Sent: Friday, June 22, 2001 8:26 AM
To: xsl-list@lists.mulberrytech.com
Subject: Re: [xsl] BreakIterator in XSLT
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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list