In my example below I didn't see any difference between the 2. I put a
debug in <xsl:template match="*"> just after <xsl:element ..> and it
looks like in both cases all element child nodes were pushed.
On Tue, Sep 9, 2008 at 9:46 AM, G. Ken Holman
<gkholman(_at_)cranesoftwrights(_dot_)com> wrote:
At 2008-09-09 09:42 -0700, Mohit Anchlia wrote:
It's apache xalan. strange part is that if I remove select=* from
apply-templates then it indents properly.
Omitting select= from <xsl:apply-templates/> is an abbreviation for using
select="child::node()" which would push all child nodes..
Since you are using select="*" you are pushing only element child nodes
through your stylesheet, not *all* child nodes through your stylesheet.
I hope this helps.
. . . . . . . . . . Ken
--
Upcoming XSLT/XSL-FO hands-on courses: Wellington, NZ 2009-01
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
G. Ken Holman mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--