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

RE: Newby Question...

Subject: RE: Newby Question...
From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx>
Date: Fri, 3 Sep 2004 12:36:14 -0500
xsl timetable
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:  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

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-2013 All Rights Reserved.