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: BreakIterator in XSLT


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


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