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: XML Comma Delimited Info to an HTML Table



Simon St. Laurent's fragment filtering tool, while not XSL, might be appropriate.  If not, a call-template recursively processing the text might be appropriate.

http://www.simonstl.com/

Ken

-----Original Message-----
From: Surangi.Sharma@NZ.CGEYC.COM [mailto:Surangi.Sharma@NZ.CGEYC.COM]
Sent: Thursday, October 11, 2001 4:42 PM
To: xsl-list@lists.mulberrytech.com
Subject: [xsl] XML Comma Delimited Info to an HTML Table


This email is to be read subject to the disclaimer below.

[xsl] Comma Delimited Output to an HTML Table

Hi,
I have an XML file containing data corresponding to a table (see below).
The first <Record> contains the column headings and the subsequent Records
contain the row data (comma delimited). I am working on an XSLT to
transform this XML message into an HTML format for a nice crisp display.
Without re-inventing the wheel, is there any known solution in producing an
HTML table out of this?

<Data>
     <Record>Full Name, Address1, Address2, Address3, Phone Number, Age,
Hobby</Record>
     <Record>Anne Brown, 25A Symonds St, , Auckland, 09373535, 29,
Reading</Record>
     <Record>Mark Smith, 30 Whiteney St, Blockhouse Bay, Auckland, 09
6232653, 31, Swimming</Record>
     <Record>Dane Anderson ,1 Crescent Dr, Newton, Auckland, 09373995, 20,
</Record>
     ...
</Data>

Your help is much appreciated...

cheers!!
SS


--------------------
The information contained in this communication is intended solely for the
use of the individual or entity to whom it is addressed and others
authorised to receive it.  It may contain confidential or legally
privileged information.
If you are not the intended recipient you are hereby notified that any
disclosure, copying, distribution or taking any action in reliance on the
contents of this information is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us
immediately by responding to this email and then delete it from your
system.
Cap Gemini Ernst & Young is neither liable for the proper and complete
transmission of the information contained in this communication nor for any
delay in its receipt.
--------------------





______________________________________________________________________
This message contains information that may be privileged or confidential
and is the property of the Cap Gemini Ernst & Young Group.  It is intended
only for the person to whom it is addressed.  If you are not the intended
recipient, you are not authorized to read, print, retain, copy,
disseminate, distribute, or use this message or any part thereof. If you
receive this message in error, please notify the sender immediately and
delete all copies of this message


 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]