Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - xslt problem for-each loop [Thread Next] Re: xslt problem for-each loopTo: NULL Date: 5/6/2004 11:43:00 AM This is a multi-part message in MIME format.
------=_NextPart_000_0026_01C4335F.5733D1A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
You can use recursion instead:
<xsl:template name=3D"timeline">
<xsl:param name=3D"str"/>
<xsl:param name=3D"pos"/>
<xsl:if test=3D"string-length($str) > $pos">
<timeline><xsl:value-of =
select=3D"substring($str, $pos, 1)" /></timeline>
<xsl:call-template name=3D"timeline">
<xsl:with-param name=3D"str" =
select=3D"$str" />
<xsl:with-param name=3D"pos" =
select=3D"$pos + 1" />
</xsl:call-template>
</xsl:if>
</xsl:template>
=20
<xsl:template match=3D"timeline">
<xsl:call-template name=3D"timeline">
<xsl:with-param name=3D"str" =
select=3D"text()" />
<xsl:with-param name=3D"pos" select=3D"1" =
/>
</xsl:call-template>
</xsl:template>
Yan
"Chris Millar" <chris.millar@e...> wrote in message =
news:eQUZ0r4MEHA.2628@T......
>I have the following xml file:
>=20
> <?xml version=3D"1.0" encoding=3D"UTF-8"?>
> <untable>
> <unavail>
> =
<timeline>111111111111111111111111111111111111111111000000000000111111111=
111
> 11111111111111111111111111111111111111</timeline>
> <type>1</type>
> <date>22/01/2004</date>
> </unavail>
> </untable>
>=20
> I have an xslt were i want to create html based on the timeline =
information.
>=20
> For each bit in the timeline element 1 or 0 I wish to create a TD =
element in
> a HTML table there are always 96 bits.
>=20
> The background color i want to set to black if the value of the =
current
> timeline bit is 1 and red if the current timeline bit is 0.
>=20
> The xsl is below, the problem i have is that i don't understand how i =
can do
> the template match as there aren't 96 consecutive timeline elements to =
do it
> with i.e <timeline>0</timeline><timeline>0</timeline> ... to 96. where =
i
> could use <xsl:for-each>
>=20
>=20
> can anyone help.
>=20
>=20
> xsl:
>=20
> <?xml version=3D"1.0" encoding=3D"UTF-8"?>
> <!DOCTYPE xsl:stylesheet [
> <!ENTITY nbsp " ">
> ]>
> <xsl:stylesheet version=3D"1.0"
> xmlns:xsl=3D"http://www.w3.org/1999/XSL/Transform"
> xmlns:fo=3D"http://www.w3.org/1999/XSL/Format">
> <xsl:template match=3D"/">
> <html>
> <head>
> <script src=3D"file:///C|/Documents and
> Settings/Administrator/Desktop/Avail/avail.js" =
type=3D"text/javascript"/>
> <link
> =
href=3D"file:///C|/Documents%20and%20Settings/Administrator/Desktop/Avail=
/avai
> l.css" rel=3D"stylesheet" type=3D"text/css"/>
> </head>
> <body>
> <!-- header section for week num and Timeline intervals-->
> <table width=3D"1003" border=3D"0" cellpadding=3D"1" cellspacing=3D"0"
> bgcolor=3D"#0066CC">
> <tr valign=3D"top" bgcolor=3D"#7b9ebd" class=3D"style7">
> <td width=3D"115" height=3D"28" align=3D"right" valign=3D"middle">Time =
Periods:</td>
> <td width=3D"108" valign=3D"middle">
> <select name=3D"select">
> <option>Hourly</option>
> <option>1/2 Hourly</option>
> <option>1/4 Hourly</option>
> </select>
> </td>
> <td width=3D"77" align=3D"right" valign=3D"middle">Week No:</td>
> <td width=3D"86" align=3D"center" valign=3D"middle">
> <table width=3D"46" border=3D"0" cellpadding=3D"0" cellspacing=3D"0">
> <tr>
> <td width=3D"10">
> <input name=3D"textfield" type=3D"text" class=3D"style19" size=3D"2" =
maxlength=3D"2"/>
> </td>
> <td width=3D"36">
> <img
> =
src=3D"file:///C|/Documents%20and%20Settings/Administrator/Desktop/Avail/=
image
> s/btn_off_cal.gif" width=3D"36" height=3D"19"/>
> </td>
> </tr>
> </table>
> </td>
> <td width=3D"607"> </td>
> </tr>
> </table>
> <!-- end of section for week num and Timeline intervals-->
> <!--start of timeline section-->
> <table border=3D"1" cellpadding=3D"2" cellspacing=3D"0" =
bgcolor=3D"#FFFFFF"
> OnMousedown=3D"mouseDown(event)" onMouseUp=3D"lmouseup()"
> onMouseMove=3D"changeto(event)">
> <tr bgcolor=3D"#7b9ebd">
> <td align=3D"center" class=3D"style9" id=3D"ignore">Week Day</td>
> <td align=3D"center" class=3D"style9">Week Date </td>
> <td colspan=3D"4" class=3D"style7">00:00</td>
> <td colspan=3D"4" class=3D"style7">01:00</td>
> <td colspan=3D"4" class=3D"style7">02:00</td>
> <td colspan=3D"4" class=3D"style7">03:00</td>
> <td colspan=3D"4" class=3D"style7">04:00</td>
> <td colspan=3D"4" class=3D"style7">05:00</td>
> <td colspan=3D"4" class=3D"style7">06:00</td>
> <td colspan=3D"4" class=3D"style7">07:00</td>
> <td colspan=3D"4" class=3D"style7">08:00</td>
> <td colspan=3D"4" class=3D"style7">09:00</td>
> <td colspan=3D"4" class=3D"style7">10:00</td>
> <td colspan=3D"4" class=3D"style7">11:00</td>
> <td colspan=3D"4" class=3D"style7">12:00</td>
> <td colspan=3D"4" class=3D"style7">13:00</td>
> <td colspan=3D"4" class=3D"style7">14:00</td>
> <td colspan=3D"4" class=3D"style7">15:00</td>
> <td colspan=3D"4" class=3D"style7">16:00</td>
> <td colspan=3D"4" class=3D"style7">17:00</td>
> <td colspan=3D"4" class=3D"style7">18:00</td>
> <td colspan=3D"4" class=3D"style7">19:00</td>
> <td colspan=3D"4" class=3D"style7">20:00</td>
> <td colspan=3D"4" class=3D"style7">21:00</td>
> <td colspan=3D"4" class=3D"style7">22:00</td>
> <td colspan=3D"4" class=3D"style7">23:00</td>
> <td colspan=3D"4" class=3D"style7">24:00</td>
> </tr>
> </table>
> <!--end of timeline section-->
> <!-- start of day times section-->
> <xsl:variable name=3D"testvar">96</xsl:variable>
> <table>
> <tr>
> <td bgcolor=3D"#7b9ebd" class=3D"style15" id=3D"ignore">Monday</td>
> <td bgcolor=3D"#7b9ebd" class=3D"style15">19/01/2004 <xsl:value-of
> select=3D"$testvar"></xsl:value-of></td>
> </tr>
> </table>
> <!-- <td class=3D"unnamed2"> </td>-->
> <!-- end of day times section -->
> <!--Start of section for planner legend -->
> <table width=3D"800" border=3D"1" cellpadding=3D"1" cellspacing=3D"0"
> bordercolor=3D"#FFFFFF">
> <tr>
> <td width=3D"154" class=3D"style9">Planner Legend: </td>
> <td width=3D"29" bordercolor=3D"#000000" bgcolor=3D"#0000FF" =
class=3D"style18"
> onMouseDown=3D"changehighlightcolor('blue')"> </td>
> <td width=3D"216" align=3D"center" class=3D"style15"> Regular =
Unavailabilty</td>
> <td width=3D"36" bordercolor=3D"#000000" bgcolor=3D"#FF0000" =
class=3D"style18"
> onMouseDown=3D"changehighlightcolor('red')"> </td>
> <td width=3D"190" align=3D"center" class=3D"style15">Requirements</td>
> <td width=3D"36" bordercolor=3D"#000000" bgcolor=3D"#009900" =
class=3D"unnamed2"
> onMouseDown=3D"changehighlightcolor('green')"> </td>
> <td width=3D"179" align=3D"center" class=3D"style15">Specific =
Unavailability</td>
> <td width=3D"36" align=3D"center" bordercolor=3D"#000000" =
class=3D"unnamed2"
> onMouseDown=3D"changehighlightcolor('white')"> </td>
> <td width=3D"123" align=3D"center" class=3D"style15">Delete Times =
</td>
> </tr>
> <tr>
> <td colspan=3D"9" class=3D"style19">Please click a colour then drag =
& drop
> unavailability, Right click button to edit unavailbilty description =
and
> notes. </td>
> </tr>
> </table>
> <!-- end of section for planner legend -->
> </body>
> </html>
> </xsl:template>
> </xsl:stylesheet>
>=20
>=20
> Cheers
>=20
> chris.
>=20
>
------=_NextPart_000_0026_01C4335F.5733D1A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2096" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><SPAN=20
style=3D"mso-tab-count: 1">
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt">You can use =
recursion=20
instead:<?xml:namespace prefix =3D o ns =3D=20
"urn:schemas-microsoft-com:office:office" =
/><o:p></o:p></P></SPAN></SPAN>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT face=3DArial><SPAN =
style=3D"mso-tab-count: =
1"> =20
</SPAN><xsl:template =
name=3D"timeline"><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT face=3DArial><SPAN =
style=3D"mso-tab-count: =
2"> &nbs=
p; =20
</SPAN><xsl:param name=3D"str"/><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT face=3DArial><SPAN =
style=3D"mso-tab-count: =
2"> &nbs=
p; =20
</SPAN><xsl:param name=3D"pos"/><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT face=3DArial><SPAN =
style=3D"mso-tab-count: =
2"> &nbs=
p; =20
</SPAN><xsl:if test=3D"string-length($str) >=20
$pos"><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT face=3DArial><SPAN =
style=3D"mso-tab-count: =
3"> &nbs=
p;  =
; =20
</SPAN><timeline><xsl:value-of select=3D"substring($str, $pos, =
1)"=20
/></timeline><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT face=3DArial><SPAN =
style=3D"mso-tab-count: =
3"> &nbs=
p;  =
; =20
</SPAN><xsl:call-template =
name=3D"timeline"><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT face=3DArial><SPAN =
style=3D"mso-tab-count: =
4"> &nbs=
p;  =
; =
=20
</SPAN><xsl:with-param name=3D"str" select=3D"$str"=20
/><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT face=3DArial><SPAN =
style=3D"mso-tab-count: =
4"> &nbs=
p;  =
; =
=20
</SPAN><xsl:with-param name=3D"pos" select=3D"$pos + 1"=20
/><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT face=3DArial><SPAN =
style=3D"mso-tab-count: =
3"> &nbs=
p;  =
; =20
</SPAN></xsl:call-template><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT face=3DArial><SPAN =
style=3D"mso-tab-count: =
2"> &nbs=
p; =20
</SPAN></xsl:if><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT face=3DArial><SPAN =
style=3D"mso-tab-count: =
1"> =20
</SPAN></xsl:template><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT face=3DArial><SPAN =
style=3D"mso-tab-count: =
1"> =20
</SPAN><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT face=3DArial><SPAN =
style=3D"mso-tab-count: =
1"> =20
</SPAN><xsl:template =
match=3D"timeline"><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT face=3DArial><SPAN =
style=3D"mso-tab-count: =
2"> &nbs=
p; =20
</SPAN><xsl:call-template =
name=3D"timeline"><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT face=3DArial><SPAN =
style=3D"mso-tab-count: =
3"> &nbs=
p;  =
; =20
</SPAN><xsl:with-param name=3D"str" select=3D"text()"=20
/><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT face=3DArial><SPAN =
style=3D"mso-tab-count: =
3"> &nbs=
p;  =
; =20
</SPAN><xsl:with-param name=3D"pos" select=3D"1"=20
/><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT face=3DArial><SPAN =
style=3D"mso-tab-count: =
2"> &nbs=
p; =20
</SPAN></xsl:call-template><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT face=3DArial><SPAN =
style=3D"mso-tab-count: =
1"> =20
</SPAN></xsl:template></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT=20
face=3DArial>Yan</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><FONT face=3DArial=20
size=3D2></FONT></SPAN> </P></DIV>
<DIV><FONT face=3DArial size=3D2>"Chris Millar" <</FONT><A=20
href=3D"mailto:chris.millar@e..."><FONT face=3DArial=20
size=3D2>chris.millar@e...</FONT></A><FONT face=3DArial =
size=3D2>> wrote=20
in message </FONT><A =
href=3D"news:eQUZ0r4MEHA.2628@T..."><FONT=20
face=3DArial =
size=3D2>news:eQUZ0r4MEHA.2628@T...</FONT></A><FONT=20
face=3DArial size=3D2>...</FONT></DIV><FONT face=3DArial size=3D2>>I =
have the=20
following xml file:<BR>> <BR>> <?xml version=3D"1.0"=20
encoding=3D"UTF-8"?><BR>> <untable><BR>> =
<unavail><BR>>=20
<timeline>111111111111111111111111111111111111111111000000000000111=
111111111<BR>>=20
11111111111111111111111111111111111111</timeline><BR>>=20
<type>1</type><BR>> =
<date>22/01/2004</date><BR>>=20
</unavail><BR>> </untable><BR>> <BR>> I have an =
xslt were i=20
want to create html based on the timeline information.<BR>> <BR>> =
For each=20
bit in the timeline element 1 or 0 I wish to create a TD element =
in<BR>> a=20
HTML table there are always 96 bits.<BR>> <BR>> The background =
color i=20
want to set to black if the value of the current<BR>> timeline bit is =
1 and=20
red if the current timeline bit is 0.<BR>> <BR>> The xsl is below, =
the=20
problem i have is that i don't understand how i can do<BR>> the =
template=20
match as there aren't 96 consecutive timeline elements to do it<BR>> =
with i.e=20
<timeline>0</timeline><timeline>0</timeline> ... =
to 96.=20
where i<BR>> could use <xsl:for-each><BR>> <BR>> <BR>> =
can=20
anyone help.<BR>> <BR>> <BR>> xsl:<BR>> <BR>> <?xml=20
version=3D"1.0" encoding=3D"UTF-8"?><BR>> <!DOCTYPE =
xsl:stylesheet=20
[<BR>> <!ENTITY nbsp "&#160;"><BR>> ]><BR>>=20
<xsl:stylesheet version=3D"1.0"<BR>> xmlns:xsl=3D"</FONT><A=20
href=3D"http://www.w3.org/1999/XSL/Transform"><FONT face=3DArial=20
size=3D2>http://www.w3.org/1999/XSL/Transform</FONT></A><FONT =
face=3DArial=20
size=3D2>"<BR>> xmlns:fo=3D"</FONT><A=20
href=3D"http://www.w3.org/1999/XSL/Format"><FONT face=3DArial=20
size=3D2>http://www.w3.org/1999/XSL/Format</FONT></A><FONT face=3DArial=20
size=3D2>"><BR>> <xsl:template match=3D"/"><BR>> =
<html><BR>>=20
<head><BR>> <script src=3D"</FONT><A =
href=3D"file:///C|/Documents"><FONT=20
face=3DArial size=3D2>file:///C|/Documents</FONT></A><FONT face=3DArial =
size=3D2>=20
and<BR>> Settings/Administrator/Desktop/Avail/avail.js"=20
type=3D"text/javascript"/><BR>> <link<BR>> href=3D"</FONT><A =
href=3D"file:///C|/Documents%20and%20Settings/Administrator/Desktop/Avail=
/avai"><FONT=20
face=3DArial=20
size=3D2>file:///C|/Documents%20and%20Settings/Administrator/Desktop/Avai=
l/avai</FONT></A><BR><FONT=20
face=3DArial size=3D2>> l.css" rel=3D"stylesheet" =
type=3D"text/css"/><BR>>=20
</head><BR>> <body><BR>> <!-- header section for =
week num=20
and Timeline intervals--><BR>> <table width=3D"1003" =
border=3D"0"=20
cellpadding=3D"1" cellspacing=3D"0"<BR>> =
bgcolor=3D"#0066CC"><BR>> <tr=20
valign=3D"top" bgcolor=3D"#7b9ebd" class=3D"style7"><BR>> <td =
width=3D"115"=20
height=3D"28" align=3D"right" valign=3D"middle">Time =
Periods:</td><BR>>=20
<td width=3D"108" valign=3D"middle"><BR>> <select=20
name=3D"select"><BR>> <option>Hourly</option><BR>>=20
<option>1/2 Hourly</option><BR>> <option>1/4=20
Hourly</option><BR>> </select><BR>> =
</td><BR>> <td=20
width=3D"77" align=3D"right" valign=3D"middle">Week =
No:</td><BR>> <td=20
width=3D"86" align=3D"center" valign=3D"middle"><BR>> <table =
width=3D"46"=20
border=3D"0" cellpadding=3D"0" cellspacing=3D"0"><BR>> =
<tr><BR>> <td=20
width=3D"10"><BR>> <input name=3D"textfield" type=3D"text" =
class=3D"style19"=20
size=3D"2" maxlength=3D"2"/><BR>> </td><BR>> <td=20
width=3D"36"><BR>> <img<BR>> src=3D"</FONT><A=20
href=3D"file:///C|/Documents%20and%20Settings/Administrator/Desktop/Avail=
/image"><FONT=20
face=3DArial=20
size=3D2>file:///C|/Documents%20and%20Settings/Administrator/Desktop/Avai=
l/image</FONT></A><BR><FONT=20
face=3DArial size=3D2>> s/btn_off_cal.gif" width=3D"36" =
height=3D"19"/><BR>>=20
</td><BR>> </tr><BR>> </table><BR>>=20
</td><BR>> <td =
width=3D"607">&nbsp;</td><BR>>=20
</tr><BR>> </table><BR>> <!-- end of section for =
week num=20
and Timeline intervals--><BR>> <!--start of timeline=20
section--><BR>> <table border=3D"1" cellpadding=3D"2" =
cellspacing=3D"0"=20
bgcolor=3D"#FFFFFF"<BR>> OnMousedown=3D"mouseDown(event)"=20
onMouseUp=3D"lmouseup()"<BR>> =
onMouseMove=3D"changeto(event)"><BR>> <tr=20
bgcolor=3D"#7b9ebd"><BR>> <td align=3D"center" class=3D"style9" =
id=3D"ignore">Week Day</td><BR>> <td align=3D"center"=20
class=3D"style9">Week Date </td><BR>> <td colspan=3D"4"=20
class=3D"style7">00:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">01:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">02:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">03:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">04:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">05:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">06:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">07:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">08:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">09:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">10:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">11:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">12:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">13:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">14:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">15:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">16:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">17:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">18:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">19:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">20:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">21:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">22:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">23:00</td><BR>> <td colspan=3D"4"=20
class=3D"style7">24:00</td><BR>> </tr><BR>>=20
</table><BR>> <!--end of timeline section--><BR>> =
<!--=20
start of day times section--><BR>> <xsl:variable=20
name=3D"testvar">96</xsl:variable><BR>> =
<table><BR>>=20
<tr><BR>> <td bgcolor=3D"#7b9ebd" class=3D"style15"=20
id=3D"ignore">Monday</td><BR>> <td bgcolor=3D"#7b9ebd"=20
class=3D"style15">19/01/2004 <xsl:value-of<BR>>=20
select=3D"$testvar"></xsl:value-of></td><BR>>=20
</tr><BR>> </table><BR>> <!-- <td=20
class=3D"unnamed2">&nbsp;</td>--><BR>> <!-- end of =
day times=20
section --><BR>> <!--Start of section for planner legend =
--><BR>>=20
<table width=3D"800" border=3D"1" cellpadding=3D"1" =
cellspacing=3D"0"<BR>>=20
bordercolor=3D"#FFFFFF"><BR>> <tr><BR>> <td =
width=3D"154"=20
class=3D"style9">Planner Legend: </td><BR>> <td =
width=3D"29"=20
bordercolor=3D"#000000" bgcolor=3D"#0000FF" class=3D"style18"<BR>>=20
onMouseDown=3D"changehighlightcolor('blue')">&nbsp;</td><BR>=
>=20
<td width=3D"216" align=3D"center" class=3D"style15"> Regular=20
Unavailabilty</td><BR>> <td width=3D"36" =
bordercolor=3D"#000000"=20
bgcolor=3D"#FF0000" class=3D"style18"<BR>>=20
onMouseDown=3D"changehighlightcolor('red')">&nbsp;</td><BR>&=
gt;=20
<td width=3D"190" align=3D"center"=20
class=3D"style15">Requirements</td><BR>> <td width=3D"36" =
bordercolor=3D"#000000" bgcolor=3D"#009900" class=3D"unnamed2"<BR>>=20
onMouseDown=3D"changehighlightcolor('green')">&nbsp;</td><BR=
>>=20
<td width=3D"179" align=3D"center" class=3D"style15">Specific=20
Unavailability</td><BR>> <td width=3D"36" align=3D"center"=20
bordercolor=3D"#000000" class=3D"unnamed2"<BR>>=20
onMouseDown=3D"changehighlightcolor('white')">&nbsp;</td><BR=
>>=20
<td width=3D"123" align=3D"center" class=3D"style15">Delete Times=20
</td><BR>> </tr><BR>> <tr><BR>> <td =
colspan=3D"9"=20
class=3D"style19">Please click a colour then drag &amp; =
drop<BR>>=20
unavailability, Right click button to edit unavailbilty description =
and<BR>>=20
notes. </td><BR>> </tr><BR>> </table><BR>> =
<!--=20
end of section for planner legend --><BR>> </body><BR>>=20
</html><BR>> </xsl:template><BR>>=20
</xsl:stylesheet><BR>> <BR>> <BR>> Cheers<BR>> =
<BR>>=20
chris.<BR>> <BR>></FONT></BODY></HTML>
------=_NextPart_000_0026_01C4335F.5733D1A0--
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
