This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Re: Puzzling comment() processing behavior


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]