> > <xsl:if test="advertisement">
> > <xsl:text><adex></xsl:text>
> > <xsl:if test="advertisement/advertiser">
> > <ad-info>
> > <xsl:value-of
> > select="advertisement/advertiser/name">
> > </ad-info>
> > </xsl:if>
> > <xsl:text></adex></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
|