Re: how to split des tokens seperated by <br/> tag in
Antonio Fiol wrote: > > If you don't mind it to split on other elements than <br/>, I have a > very simple idea. > > The following is untested: > > <xsl:for-each select="/html/body/table/tr/td/table/tr/td/table/tr/td/font/font/text()"> > <student><xsl:value-of select="." /> > </xsl:for-each> Thanks alot for yours helps. It works well. So i am fairy idiot to complex problem. > Instead of "." you may want "normalize-space()". > > Antonio Fiol > > Tuan-Dung Cao wrote: > > >It the case of extension with the case we have solved with un string and > >separateurs as comma, '-',... > >But in case we have to work with a paragraph seperate by <br>. How to > >extract words. > > > >Example: i work with a part of XHTML file: > > > ><HTML> > >.......................... > > > ><font face="Helvetica,Geneva,Arial,Times" size="-1"> > >- <font face="Helvetica" size="2"> > > Mary Jo Staley > > <br /> > > Patricia Oberndorf > > <br /> > > Carol A. Sledge > > </font> > > </font> > > > > > >When i use XSLT to extract words at > >/html/body/table/tr/td/table/tr/td/table/tr/td/font/font > > > >it return always mary Jo Stanley Paricia Oberndorf > > > >How to generate: > > > ><student>Jo Stanley</student> > > > ><student>Paricia Oberndorf</student> > > > ><student>CarolA.Sledge</student> > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > > > >. > > > > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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