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@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
Sent: Friday, June 22, 2001 8:26 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: 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
|