[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

how to split des tokens seperated by <br/> tag in the

Subject: how to split des tokens seperated by <br/> tag in the same location Xpath
From: Tuan-Dung Cao <Tuan-Dung.Cao@xxxxxxxxxxxxxxx>
Date: Fri, 28 Jun 2002 16:28:46 +0200
xml student split
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[2]/td[2]/table[2]/tr/td[2]/table[2]/tr/td/font[1]/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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.