This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: recursivly applying a transform to a result tree
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] recursivly applying a transform to a result tree
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Tue, 10 Apr 2001 14:00:19 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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