This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Re: Puzzling comment() processing behavior
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] Re: Puzzling comment() processing behavior
- From: "Stephen Goetze" <goetze at dovetail dot com>
- Date: Sun, 21 Jan 2001 13:58:24 -0500
- References: <20010121182736.14484.qmail@web6301.mail.yahoo.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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