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

Subject: RE: [xsl] Re: Puzzling comment() processing behavior
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Sun, 21 Jan 2001 23:25:12 -0000
> 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


Current Thread