[xquery-talk] XSL Question

Michael Kay mhk at mhk.me.uk
Wed May 24 10:49:22 PDT 2006


Better to ask XSLT questions over on the xsl-list at mulberrytech.com - this
list is for XQuery.
 
However, XSLT 2.0 and XQuery 1.0 share the same function library, which
includes a tokenize() function to split a string into a sequence of strings.
If you're stuck with XSLT 1.0 there's a similar str:tokenize function in the
third-party library at www.exslt.org.
 
Michael Kay
http://www.saxonica.com/


  _____  

From: talk-bounces at xquery.com [mailto:talk-bounces at xquery.com] On Behalf Of
Rajashekaraiah, Rashmi (HP-IT)
Sent: 24 May 2006 04:28
To: talk at xquery.com
Subject: [xquery-talk] XSL Question


Hi : 
 
I have a XML which looks like : 
<root><child>name1,name2_pewe,name3</child></root>
 
 
I want to write an xsl to trasnform this to html which should look like 
<html>
<body>
<table>
<tr><td>name1<td><td></td><td></td><tr>
</table>
<body>
</html>
 
I dono how to write a split function in xslt. please help 
 
Thanks, 
Rashmi
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xquery.com/pipermail/talk/attachments/20060524/0bd2d32b/attachment-0001.htm


More information about the talk mailing list