Re: [xsl] Re: Puzzling comment() processing behavior

Subject: Re: [xsl] Re: Puzzling comment() processing behavior
From: "Stephen Goetze" <goetze@xxxxxxxxxxxx>
Date: Sun, 21 Jan 2001 13:58:24 -0500
> To obtain the result you wanted, use:
>
>     <xsl:template match="B">
>         <xsl:value-of select="."/>
>         <xsl:apply-templates/>
>     </xsl:template>
>
> Instead of:
>
> >    <xsl:template match="B">
> >        <xsl:value-of select="."/>
> >    </xsl:template>
>


Thanks for the response, Dimitri.  I guess my question is more basic; which
is why does the template matching "X" get called automatically inside B
(without the xsl:apply-templates element present), but not the template
matching "comment()" ?


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


Current Thread