Subject: Re: Attribute_Formatting
From: "Jonathan Borden" <jborden@xxxxxxxxxxxx>
Date: Mon, 5 Apr 1999 16:31:11 -0400
|
Johnny Lee wrote:
> For instance, suppose I have a listing of four <listitems> and want to
>format each in a different way. How can I do this with XSL?
<xsl:template match="listitem[@type = 'apple']">
...
</xsl:template>
<xsl:template match="listitem[@type = 'banana']">
...
</xsl:template>
Jonathan Borden
http://jabr.ne.mediaone.net
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|