[xsl] Re: Re: "*|@*|text()" vs. "node()"

Subject: [xsl] Re: Re: "*|@*|text()" vs. "node()"
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Thu, 4 Oct 2001 07:39:34 -0700 (PDT)
> As far as I know <xsl:apply-templates/> is the same like 
> <xsl:apply-templates select="*|text()"/>,

No, 
  <xsl:apply-templates/> is a shorthand for:

  <xsl:apply-templates select="child::node()"/> 

and will select all child nodes (e.g. for an element node -- elements, PIs,
comments, text-nodes) of the current node.

Cheers,
Dimitre Novatchev.


__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

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


Current Thread