Re: < and >

Subject: Re: < and >
From: Duane Nickull <webmaster@xxxxxxxxxxxxxxxxx>
Date: Thu, 29 Apr 1999 08:48:28 -0700
> >       <xsl:if test="advertisement">
> >               <xsl:text>&lt;adex&gt;</xsl:text>
> >                       <xsl:if test="advertisement/advertiser">
> >                               &lt;ad-info&gt;
> >                               <xsl:value-of
> > select="advertisement/advertiser/name">
> >                               &lt;/ad-info&gt;
> >                       </xsl:if>
> >               <xsl:text>&lt;/adex&gt;</xsl:text>
> >       </xsl:if>
> > </xsl:template>
> > </xsl:stylesheet>

While this should be grammatically correct, you *MUST* remember case
sensetivity.  Advertisement != advertisement

Duane Nickull
www.cartnetwork.com

> <xsl:template match="Advertisement">
> <adex><xsl:apply-templates/></adex>
> </xsl:template>
> <xsl:template match="advertiser">
> <ad-info><xsl:apply-templates/></ad-info>
> </xsl:template>
> <xsl:template match="name">
> <name><xsl:apply-templates/></name>
> </xsl:template>
> 
> Mike Kay
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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


Current Thread