Re: Wierd IE5B2

Subject: Re: Wierd IE5B2
From: "Juliane Harbarth" <jhb@xxxxxxxxxxxxxx>
Date: Tue, 23 Feb 1999 11:06:24 -0000
>Can someone please explain how each of the following
>works? (Or is meant to work)

The following excerpt works, i.e. it arranges a 
piece of XML as 
into a smooth HTML table.
It partly demonstrates the use of match and select.
match="instrument[0]" tests whether it's the first
sibling. I don't know anything about "test" yet.

    	<xsl:template match="instruments">
 	  <xsl:for-each select="instrument">
<xsl:when match="instrument[0]">
	      <TD WIDTH="150">
	       <FONT SIZE="+1">Instruments :</FONT>
               <xsl:value-of select="."/> 
	      <TD WIDTH="150"> </TD>
               <xsl:value-of select="."/> 

 XSL-List info and archive:

Current Thread