Re: [xsl] Dropdown

Subject: Re: [xsl] Dropdown
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 22 Oct 2002 20:31:31 +0100

	   <xsl:element name="input">
	<xsl:attribute name="type">checkbox</xsl:attribute>
	<xsl:attribute name="id"><xsl:value-of
select="@DetailId"/></xsl:attribute>
	</xsl:element>


is a very long way of writing
<input type="checkbox" id="{@DetailId}"/>




   <xsl:if test="@Type = 'DropDown'"> 
     </select>
   </xsl:if>


XSLT has to be well formed XML, 
<fooo>
  </xxx>
</foo>
will not get past the XML parser so your stylesheet will not be seen at
all by the XSL:T system.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread