[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: finding and removing duplicate string
> <p>Bradley Cooper named Peoples Sexiest man alive 2011 Bradley > Cooper named Peoples Sexiest man alive 2011</p> >> > After putting check in the xsl and deleting the duplicate string. The > output should be:- > > <text> > <p>Bradley Cooper named Peoples Sexiest man alive 2011 </p> > </text> I guess you could normalize, then tokenize on spaces, find the middle, then compare sides... if they are equal pick the first. -- Andrew Welch http://andrewjwelch.com
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|