RE: [xsl] Newby Question...

Subject: RE: [xsl] Newby Question...
From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx>
Date: Fri, 3 Sep 2004 12:36:14 -0500
Hi Aaron,

For a start, you have 

<xsl:variable name="hrefvalue"
expr="concat('http://development.uwe.ac.uk:8001/modules/caslogin.asp?code=',
$modulename)"/>

Where the attribute 'expr' is invalid, it should be 'select' of course.

Then, about your problem, as Anton Triest (cking) suggests, you should be
able to play with the colspan attribute of each table cells.

As an alternative, you could separate each row 'tr' in one single table, and
set table cell widths according to their duration in time. The set of tables
can be encapsulated in one single table definition with a border set to 1,
and the individual tables set to no border, and each cell with a border. The
result should be similar to what you want. You can even add colors to give
it a more professional look, but that's the next step of course :-)

HTH,
<prs/> 

-----Original Message-----
From: Aaron Johnson [mailto:Aaron2.Johnson@xxxxxxxxx] 
Sent: Friday, September 03, 2004 3:38 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] Newby Question...

Hi...

I am fairly new to XSLT so please bear with me...

I am trying to populate a timetable with XML data using XSL.

The cells of the table are coded into the XSL. When an item appears in the
timetable, if it occurs in one or more periods, the cells are populated with
data. I would like to have it so that the data stretches across the cells
and appears only once instead of repeating.

I think I know how it would be done but I just don't have the knowledge to
"do it!"

Here is an example of how it looks now and how I would like it to look:

http://atg.uwe.ac.uk/aaron/xslt/example_output.html

If anybody can give me any advice I would be most grateful.

AJ

......................................................................

Aaron Johnson
Multimedia / GUI development
Academic Technologies Group [ATG]
University of the West of England

ext: 81051
t: 0117 3281051
www: http://atg.uwe.ac.uk/aaron
e: aaron2.johnson@xxxxxxxxx
......................................................................

......................................................................

SECURITY POLICY:

Please note that ATG will only accept
e-mail attachments in the following
formats:

.doc,.gif,.jpg,.mdb,.png,.xls,.zip,.psd

...as a mac user I will accept files
compressed using Dropstuff.
......................................................................

This communication is intended solely
for the use of the individual(s) to whom it is addressed. Any opinions
presented are those of the author and do not necessarily represent the
University of the West of England, Bristol.
......................................................................




This email has been independently scanned for viruses and any virus detected
has been removed using McAfee anti-virus software

Current Thread