Subject: RE: [xsl] FW: xsl code to create tables of different number columns and rows From: "Aron Bock" <aronbock@xxxxxxxxxxx> Date: Thu, 19 May 2005 12:46:03 +0000 |
From: "Martie Kruger" <MartinaKr@xxxxxxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: "Xsl-List-Help" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [xsl] FW: xsl code to create tables of different number columns and rows
Date: Thu, 19 May 2005 10:07:47 +0200
Hi
I am using Windows XP; Stylus Studio to create a style sheet to display documents as HTML. The schema I use is a given - I cannot change it.
My problem: How do I create a style for tables that is not the same amount of columns & rows. The code from the xml file will probably explain better:
<table>
<tgroup cols="2"><colspec colname="col1"/><colspec colname="col2"/>
<tbody>
<row>
<entry>column1rowa</entry>
<entry>column2rowa</entry>
<entry>column3rowa</entry>
</row>
<row>
<entry>column1rowb</entry>
<entry>column2rowb</entry>
<entry>column3rowb</entry>
</row>
</tbody>
</tgroup>
</table>
<table>
<tgroup cols="3"><colspec colname="col1"/><colspec colname="col2"/><colspec colname="col3"/>
<tbody>
<row>
<entry>column1rowa</entry>
<entry>column2rowa</entry>
</row>
<row>
<entry>column1rowb</entry>
<entry>column2rowb</entry>
</row>
<row>
<entry>column1rowc</entry>
<entry>column2rowc</entry>
</row>
</tbody>
</tgroup>
</table>
I do not have the faintest idea how to get a style sheet that can produce tables from this code. Can anyone help please.
Martie Kr|ger +27 12 620 3165 082 571 3656 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager at postmaster@xxxxxxxxxxxxxxxx **********************************************************************
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] FW: xsl code to create table, Martie Kruger | Thread | [xsl] testing attributes, Aaron Johnson |
Re: [xsl] unable to resolve interse, David Carlisle | Date | Re: [xsl] unable to resolve interse, Rahil |
Month |