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: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Sun, 21 Jan 2001 23:25:12 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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()" ?
The template rule for X inside B didn't get called. The text inside the X
element was output by virtue of the <xsl:value-of select="."/> applied to
the B node.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list