RE: [xsl] recursivly applying a transform to a result tree

Subject: RE: [xsl] recursivly applying a transform to a result tree
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Tue, 10 Apr 2001 14:00:19 +0100
> This I solved by using mode="tree" in the <xml:apply templates
> select="$tree" /> and the
> <xsl:templates match="b/c">.
>
> It works, but I'm not really charmed about the solution.

Generally, if different template rules apply to different tree structures,
then using modes is a good way of distinguishing which rules are supposed to
apply to which kind of tree.

This applies to using multiple input documents as much as it applies to
processing of result tree fragments.

Mike Kay
Software AG


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


Current Thread